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 ByteIteratorbyteIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableByteIterator(ByteIterator byteIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()bytenext()voidremove()
-
-
-
Field Detail
-
byteIterator
private final ByteIterator byteIterator
-
-
Constructor Detail
-
UnmodifiableByteIterator
public UnmodifiableByteIterator(ByteIterator byteIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceByteIterator
-
next
public byte next()
- Specified by:
nextin interfaceByteIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableByteIterator
-
-