| Modifier and Type | Field and Description |
|---|---|
| public static final ReversiblePeekingIterable | |
| pack-priv final Node | |
| pack-priv final Node | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | forEach(Consumer<? super Node>
The action to be performed for each element consumer)Overrides default java. Performs the given action for each element of the |
| public boolean | |
| public @NotNull ReversiblePeekingIterator | iterator()
Implements com. Returns an iterator over elements of type |
| public @NotNull ReversiblePeekingIterable | |
| public @NotNull ReversiblePeekingIterator |
| EMPTY | back to summary |
|---|---|
| public static final ReversiblePeekingIterable<Node> EMPTY | |
| firstNode | back to summary |
|---|---|
| pack-priv final Node firstNode | |
| lastNode | back to summary |
|---|---|
| pack-priv final Node lastNode | |
| reversed | back to summary |
|---|---|
| pack-priv final boolean reversed | |
| NodeIterable | back to summary |
|---|---|
| public NodeIterable(Node firstNode, Node lastNode, boolean reversed) | |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super Node> consumer) Overrides default java. Doc from java. Performs the given action for each element of the The behavior of this method is unspecified if the action performs side-effects that modify the underlying source of elements, unless an overriding class has specified a concurrent modification policy. | |
| isReversed | back to summary |
|---|---|
| public boolean isReversed() Implements com.
| |
| iterator | back to summary |
|---|---|
| public @NotNull ReversiblePeekingIterator Implements com. Doc from java. Returns an iterator over elements of type
| |
| reversed | back to summary |
|---|---|
| public @NotNull ReversiblePeekingIterable Implements com. | |
| reversedIterator | back to summary |
|---|---|
| public @NotNull ReversiblePeekingIterator Implements com. | |