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