public static class ObjectIterators.UnmodifiableBidirectionalIterator<K> extends AbstractObjectBidirectionalIterator<K>
Constructor and Description |
---|
UnmodifiableBidirectionalIterator(ObjectBidirectionalIterator<K> i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
K |
next() |
K |
previous()
Returns the previous element from the collection.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
public UnmodifiableBidirectionalIterator(ObjectBidirectionalIterator<K> i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public K next()
public K previous()
BidirectionalIterator
ListIterator.previous()