public static class BooleanIterators.UnmodifiableBidirectionalIterator extends AbstractBooleanBidirectionalIterator
Constructor and Description |
---|
BooleanIterators.UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
Boolean |
next()
Delegates to the corresponding type-specific method.
|
boolean |
nextBoolean()
Delegates to the corresponding generic method.
|
Boolean |
previous()
Delegates to the corresponding type-specific method.
|
boolean |
previousBoolean()
Delegates to the corresponding generic method.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
skip
public BooleanIterators.UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public boolean nextBoolean()
AbstractBooleanIterator
nextBoolean
in interface BooleanIterator
nextBoolean
in class AbstractBooleanIterator
Iterator.next()
public boolean previousBoolean()
AbstractBooleanBidirectionalIterator
previousBoolean
in interface BooleanBidirectionalIterator
previousBoolean
in class AbstractBooleanBidirectionalIterator
ListIterator.previous()
public Boolean next()
AbstractBooleanIterator
next
in interface Iterator<Boolean>
next
in class AbstractBooleanIterator
public Boolean previous()
AbstractBooleanBidirectionalIterator
previous
in interface BidirectionalIterator<Boolean>
previous
in class AbstractBooleanBidirectionalIterator
ListIterator.previous()