Class UnmodifiableByteIterator
- java.lang.Object
-
- org.eclipse.collections.impl.iterator.UnmodifiableByteIterator
-
- All Implemented Interfaces:
ByteIterator
,MutableByteIterator
public class UnmodifiableByteIterator extends java.lang.Object implements MutableByteIterator
UnmodifiableByteIterator is a wrapper around ByteIterator which is unmodifiable and doesn't support remove. This file was automatically generated from template file unmodifiablePrimitiveIterator.stg.
-
-
Field Summary
Fields Modifier and Type Field Description private ByteIterator
byteIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableByteIterator(ByteIterator byteIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
byte
next()
void
remove()
-
-
-
Field Detail
-
byteIterator
private final ByteIterator byteIterator
-
-
Constructor Detail
-
UnmodifiableByteIterator
public UnmodifiableByteIterator(ByteIterator byteIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceByteIterator
-
next
public byte next()
- Specified by:
next
in interfaceByteIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableByteIterator
-
-