Class SelectCharIterable.SelectCharIterator
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.SelectCharIterable.SelectCharIterator
-
- All Implemented Interfaces:
CharIterator
- Enclosing class:
- SelectCharIterable
private static final class SelectCharIterable.SelectCharIterator extends java.lang.Object implements CharIterator
-
-
Field Summary
Fields Modifier and Type Field Description private CharIterator
iterator
private char
next
private CharPredicate
predicate
private boolean
verifiedHasNext
-
Constructor Summary
Constructors Modifier Constructor Description private
SelectCharIterator(CharIterable iterable, CharPredicate predicate)
private
SelectCharIterator(CharIterator iterator, CharPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
char
next()
-
-
-
Field Detail
-
iterator
private final CharIterator iterator
-
predicate
private final CharPredicate predicate
-
next
private char next
-
verifiedHasNext
private boolean verifiedHasNext
-
-
Constructor Detail
-
SelectCharIterator
private SelectCharIterator(CharIterable iterable, CharPredicate predicate)
-
SelectCharIterator
private SelectCharIterator(CharIterator iterator, CharPredicate predicate)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceCharIterator
-
next
public char next()
- Specified by:
next
in interfaceCharIterator
-
-