public static class BooleanIterators.UnmodifiableListIterator extends java.lang.Object implements BooleanListIterator
| Modifier and Type | Field and Description |
|---|---|
protected BooleanListIterator |
i |
| Constructor and Description |
|---|
UnmodifiableListIterator(BooleanListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(it.unimi.dsi.fastutil.booleans.BooleanConsumer action) |
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Boolean> action)
Deprecated.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
nextBoolean() |
int |
nextIndex() |
boolean |
previousBoolean()
Returns the previous element as a primitive type.
|
int |
previousIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, next, previous, remove, set, setback, skipprotected final BooleanListIterator i
public UnmodifiableListIterator(BooleanListIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Boolean>hasNext in interface java.util.ListIterator<java.lang.Boolean>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Boolean>hasPrevious in interface java.util.ListIterator<java.lang.Boolean>public boolean nextBoolean()
nextBoolean in interface it.unimi.dsi.fastutil.booleans.BooleanIteratorpublic boolean previousBoolean()
BooleanBidirectionalIteratorpreviousBoolean in interface BooleanBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface java.util.ListIterator<java.lang.Boolean>public int previousIndex()
previousIndex in interface java.util.ListIterator<java.lang.Boolean>public void forEachRemaining(it.unimi.dsi.fastutil.booleans.BooleanConsumer action)
forEachRemaining in interface it.unimi.dsi.fastutil.booleans.BooleanIteratorforEachRemaining in interface java.util.PrimitiveIterator<java.lang.Boolean,it.unimi.dsi.fastutil.booleans.BooleanConsumer>@Deprecated public void forEachRemaining(java.util.function.Consumer<? super java.lang.Boolean> action)
forEachRemaining in interface it.unimi.dsi.fastutil.booleans.BooleanIteratorforEachRemaining in interface java.util.Iterator<java.lang.Boolean>