|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unimi.dsi.fastutil.booleans.AbstractBooleanIterator
it.unimi.dsi.fastutil.booleans.AbstractBooleanBidirectionalIterator
it.unimi.dsi.fastutil.booleans.BooleanIterators.UnmodifiableBidirectionalIterator
An unmodifiable wrapper class for bidirectional iterators.
| Constructor Summary | |
BooleanIterators.UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i)
|
|
| Method Summary | |
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
Object |
next()
Delegates to the corresponding type-specific method. |
boolean |
nextBoolean()
Returns the next element as a primitive type. |
Object |
previous()
Delegates to the corresponding type-specific method. |
boolean |
previousBoolean()
Delegates to the corresponding generic method. |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanBidirectionalIterator |
back |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanIterator |
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.booleans.BooleanIterator |
skip |
| Methods inherited from interface java.util.Iterator |
remove |
| Constructor Detail |
public BooleanIterators.UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i)
| Method Detail |
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()public boolean nextBoolean()
BooleanIterator
nextBoolean in interface BooleanIteratornextBoolean in class AbstractBooleanIteratorpublic boolean previousBoolean()
AbstractBooleanBidirectionalIterator
previousBoolean in interface BooleanBidirectionalIteratorpreviousBoolean in class AbstractBooleanBidirectionalIteratorpublic Object next()
AbstractBooleanIterator
next in interface Iteratornext in class AbstractBooleanIteratorpublic Object previous()
AbstractBooleanBidirectionalIterator
previous in interface BidirectionalIteratorprevious in class AbstractBooleanBidirectionalIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||