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 ShortIterator
iterator
private int
size
private 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 boolean
hasNext()
ShortIterable
next()
-
-
-
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:
hasNext
in interfacejava.util.Iterator<ShortIterable>
-
next
public ShortIterable next()
- Specified by:
next
in interfacejava.util.Iterator<ShortIterable>
-
-