public static class BooleanIterators.UnmodifiableBidirectionalIterator extends Object implements BooleanBidirectionalIterator
| Modifier and Type | Field and Description |
|---|---|
protected BooleanBidirectionalIterator |
i |
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
boolean |
nextBoolean()
Returns the next element as a primitive type.
|
boolean |
previousBoolean()
Returns the previous element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previous, skipforEachRemaining, forEachRemaining, nextprotected final BooleanBidirectionalIterator i
public UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i)
public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<Boolean>ListIterator.hasPrevious()public boolean nextBoolean()
BooleanIteratornextBoolean in interface BooleanIteratorIterator.next()public boolean previousBoolean()
BooleanBidirectionalIteratorpreviousBoolean in interface BooleanBidirectionalIteratorListIterator.previous()Copyright © 2020. All rights reserved.