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