public static class IntIterators.UnmodifiableListIterator extends AbstractIntListIterator
Constructor and Description |
---|
IntIterators.UnmodifiableListIterator(IntListIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Integer |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
nextIndex() |
int |
nextInt()
Delegates to the corresponding generic method.
|
java.lang.Integer |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
previousIndex() |
int |
previousInt()
Delegates to the corresponding generic method.
|
add, add, set, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
public IntIterators.UnmodifiableListIterator(IntListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public int nextInt()
AbstractIntIterator
nextInt
in interface IntIterator
nextInt
in class AbstractIntIterator
Iterator.next()
public int previousInt()
AbstractIntBidirectionalIterator
previousInt
in interface IntBidirectionalIterator
previousInt
in class AbstractIntBidirectionalIterator
ListIterator.previous()
public int nextIndex()
public int previousIndex()
@Deprecated public java.lang.Integer next()
next
in interface java.util.Iterator<java.lang.Integer>
next
in interface java.util.ListIterator<java.lang.Integer>
next
in class AbstractIntIterator
@Deprecated public java.lang.Integer previous()
previous
in interface BidirectionalIterator<java.lang.Integer>
previous
in interface java.util.ListIterator<java.lang.Integer>
previous
in class AbstractIntBidirectionalIterator
ListIterator.previous()