public static class BooleanIterators.UnmodifiableListIterator extends AbstractBooleanListIterator
Constructor and Description |
---|
BooleanIterators.UnmodifiableListIterator(BooleanListIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Boolean |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
nextBoolean()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
java.lang.Boolean |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
previousBoolean()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
public BooleanIterators.UnmodifiableListIterator(BooleanListIterator 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 int nextIndex()
public int previousIndex()
@Deprecated public java.lang.Boolean next()
next
in interface java.util.Iterator<java.lang.Boolean>
next
in interface java.util.ListIterator<java.lang.Boolean>
next
in class AbstractBooleanIterator
@Deprecated public java.lang.Boolean previous()
previous
in interface BidirectionalIterator<java.lang.Boolean>
previous
in interface java.util.ListIterator<java.lang.Boolean>
previous
in class AbstractBooleanBidirectionalIterator
ListIterator.previous()