public static class LongBigListIterators.UnmodifiableBigListIterator extends AbstractLongBigListIterator
Constructor and Description |
---|
UnmodifiableBigListIterator(LongBigListIterator 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.
|
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
long |
nextLong()
Delegates to the corresponding generic method.
|
java.lang.Long |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
long |
previousLong()
Delegates to the corresponding generic method.
|
add, add, back, set, set, skip
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
public UnmodifiableBigListIterator(LongBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public long nextLong()
AbstractLongIterator
nextLong
in interface LongIterator
nextLong
in class AbstractLongIterator
Iterator.next()
public long previousLong()
AbstractLongBidirectionalIterator
previousLong
in interface LongBidirectionalIterator
previousLong
in class AbstractLongBidirectionalIterator
ListIterator.previous()
public long nextIndex()
BigListIterator
ListIterator.nextIndex()
public long previousIndex()
BigListIterator
ListIterator.previousIndex()
@Deprecated public java.lang.Long next()
next
in interface java.util.Iterator<java.lang.Long>
next
in class AbstractLongIterator
@Deprecated public java.lang.Long previous()
previous
in interface BidirectionalIterator<java.lang.Long>
previous
in class AbstractLongBidirectionalIterator
ListIterator.previous()