public static class LongIterators.UnmodifiableListIterator extends AbstractLongListIterator
| Constructor and Description |
|---|
UnmodifiableListIterator(LongListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Long |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
nextIndex() |
long |
nextLong()
Delegates to the corresponding generic method.
|
java.lang.Long |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
previousIndex() |
long |
previousLong()
Delegates to the corresponding generic method.
|
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskipskippublic UnmodifiableListIterator(LongListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public long nextLong()
AbstractLongIteratornextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public long previousLong()
AbstractLongBidirectionalIteratorpreviousLong in interface LongBidirectionalIteratorpreviousLong in class AbstractLongBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()
@Deprecated public java.lang.Long next()
next in interface java.util.Iterator<java.lang.Long>next in interface java.util.ListIterator<java.lang.Long>next in class AbstractLongIterator@Deprecated public java.lang.Long previous()
previous in interface BidirectionalIterator<java.lang.Long>previous in interface java.util.ListIterator<java.lang.Long>previous in class AbstractLongBidirectionalIteratorListIterator.previous()