Class ChunkByteIterable.ChunkByteIterator
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.ChunkByteIterable.ChunkByteIterator
-
- All Implemented Interfaces:
java.util.Iterator<ByteIterable>
- Enclosing class:
- ChunkByteIterable
public static class ChunkByteIterable.ChunkByteIterator extends java.lang.Object implements java.util.Iterator<ByteIterable>
-
-
Field Summary
Fields Modifier and Type Field Description private ByteIterator
iterator
private int
size
private Function0<MutableByteCollection>
speciesNewStrategy
-
Constructor Summary
Constructors Constructor Description ChunkByteIterator(ByteIterable iterable, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
ByteIterable
next()
-
-
-
Field Detail
-
iterator
private final ByteIterator iterator
-
size
private final int size
-
speciesNewStrategy
private final Function0<MutableByteCollection> speciesNewStrategy
-
-
Constructor Detail
-
ChunkByteIterator
public ChunkByteIterator(ByteIterable iterable, int size)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<ByteIterable>
-
next
public ByteIterable next()
- Specified by:
next
in interfacejava.util.Iterator<ByteIterable>
-
-