Class ChunkShortIterable.ChunkShortIterator
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.ChunkShortIterable.ChunkShortIterator
-
- All Implemented Interfaces:
java.util.Iterator<ShortIterable>
- Enclosing class:
- ChunkShortIterable
public static class ChunkShortIterable.ChunkShortIterator extends java.lang.Object implements java.util.Iterator<ShortIterable>
-
-
Field Summary
Fields Modifier and Type Field Description private ShortIteratoriteratorprivate intsizeprivate Function0<MutableShortCollection>speciesNewStrategy
-
Constructor Summary
Constructors Constructor Description ChunkShortIterator(ShortIterable iterable, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()ShortIterablenext()
-
-
-
Field Detail
-
iterator
private final ShortIterator iterator
-
size
private final int size
-
speciesNewStrategy
private final Function0<MutableShortCollection> speciesNewStrategy
-
-
Constructor Detail
-
ChunkShortIterator
public ChunkShortIterator(ShortIterable iterable, int size)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<ShortIterable>
-
next
public ShortIterable next()
- Specified by:
nextin interfacejava.util.Iterator<ShortIterable>
-
-