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 LongIteratoriteratorprivate intsizeprivate 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 booleanhasNext()LongIterablenext()
-
-
-
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:
hasNextin interfacejava.util.Iterator<LongIterable>
-
next
public LongIterable next()
- Specified by:
nextin interfacejava.util.Iterator<LongIterable>
-
-