public static class ObjectIterators.UnmodifiableBidirectionalIterator<K> extends AbstractObjectBidirectionalIterator<K>
| Constructor and Description |
|---|
ObjectIterators.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.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskippublic ObjectIterators.UnmodifiableBidirectionalIterator(ObjectBidirectionalIterator<K> i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public K next()
public K previous()
BidirectionalIteratorListIterator.previous()