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