Class UnmodifiableByteIterator
java.lang.Object
org.eclipse.collections.impl.iterator.UnmodifiableByteIterator
- All Implemented Interfaces:
ByteIterator
,MutableByteIterator
public class UnmodifiableByteIterator extends 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.
-
Constructor Summary
Constructors Constructor Description UnmodifiableByteIterator(ByteIterator byteIterator)
-
Method Summary
-
Constructor Details
-
Method Details
-
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
-