it.unimi.dsi.fastutil.bytes
Class ByteIterators.UnmodifiableIterator
java.lang.Object
it.unimi.dsi.fastutil.bytes.AbstractByteIterator
it.unimi.dsi.fastutil.bytes.ByteIterators.UnmodifiableIterator
- All Implemented Interfaces:
- ByteIterator, Iterator
- Enclosing class:
- ByteIterators
- public static class ByteIterators.UnmodifiableIterator
- extends AbstractByteIterator
An unmodifiable wrapper class for iterators.
Method Summary |
boolean |
hasNext()
|
Object |
next()
Delegates to the corresponding type-specific method. |
byte |
nextByte()
Delegates to the corresponding generic method. |
ByteIterators.UnmodifiableIterator
public ByteIterators.UnmodifiableIterator(ByteIterator i)
hasNext
public boolean hasNext()
nextByte
public byte nextByte()
- Description copied from class:
AbstractByteIterator
- Delegates to the corresponding generic method.
- Specified by:
nextByte
in interface ByteIterator
- Overrides:
nextByte
in class AbstractByteIterator
next
public Object next()
- Description copied from class:
AbstractByteIterator
- Delegates to the corresponding type-specific method.
- Specified by:
next
in interface Iterator
- Overrides:
next
in class AbstractByteIterator