public static class ByteIterators.UnmodifiableListIterator extends java.lang.Object implements ByteListIterator
| Modifier and Type | Field and Description |
|---|---|
protected ByteListIterator |
i |
| Constructor and Description |
|---|
UnmodifiableListIterator(ByteListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(it.unimi.dsi.fastutil.bytes.ByteConsumer action) |
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Byte> action)
Deprecated.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
byte |
nextByte() |
int |
nextIndex() |
byte |
previousByte()
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 ByteListIterator i
public UnmodifiableListIterator(ByteListIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Byte>hasNext in interface java.util.ListIterator<java.lang.Byte>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Byte>hasPrevious in interface java.util.ListIterator<java.lang.Byte>public byte nextByte()
nextByte in interface it.unimi.dsi.fastutil.bytes.ByteIteratorpublic byte previousByte()
ByteBidirectionalIteratorpreviousByte in interface ByteBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface java.util.ListIterator<java.lang.Byte>public int previousIndex()
previousIndex in interface java.util.ListIterator<java.lang.Byte>public void forEachRemaining(it.unimi.dsi.fastutil.bytes.ByteConsumer action)
forEachRemaining in interface it.unimi.dsi.fastutil.bytes.ByteIteratorforEachRemaining in interface java.util.PrimitiveIterator<java.lang.Byte,it.unimi.dsi.fastutil.bytes.ByteConsumer>@Deprecated public void forEachRemaining(java.util.function.Consumer<? super java.lang.Byte> action)
forEachRemaining in interface it.unimi.dsi.fastutil.bytes.ByteIteratorforEachRemaining in interface java.util.Iterator<java.lang.Byte>