|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.shorts.AbstractShortIterator
it.unimi.dsi.fastutil.shorts.AbstractShortBidirectionalIterator
it.unimi.dsi.fastutil.shorts.ShortIterators.UnmodifiableBidirectionalIterator
An unmodifiable wrapper class for bidirectional iterators.
Constructor Summary | |
ShortIterators.UnmodifiableBidirectionalIterator(ShortBidirectionalIterator i)
|
Method Summary | |
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
Object |
next()
Delegates to the corresponding type-specific method. |
short |
nextShort()
Returns the next element as a primitive type. |
Object |
previous()
Delegates to the corresponding type-specific method. |
short |
previousShort()
Delegates to the corresponding generic method. |
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortBidirectionalIterator |
back |
Methods inherited from class it.unimi.dsi.fastutil.shorts.AbstractShortIterator |
remove, skip |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortIterator |
skip |
Methods inherited from interface java.util.Iterator |
remove |
Constructor Detail |
public ShortIterators.UnmodifiableBidirectionalIterator(ShortBidirectionalIterator i)
Method Detail |
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public short nextShort()
ShortIterator
nextShort
in interface ShortIterator
nextShort
in class AbstractShortIterator
public short previousShort()
AbstractShortBidirectionalIterator
previousShort
in interface ShortBidirectionalIterator
previousShort
in class AbstractShortBidirectionalIterator
public Object next()
AbstractShortIterator
next
in interface Iterator
next
in class AbstractShortIterator
public Object previous()
AbstractShortBidirectionalIterator
previous
in interface BidirectionalIterator
previous
in class AbstractShortBidirectionalIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |