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 Object
implements CharIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CharIterator
private char
private final CharPredicate
private boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SelectCharIterator
(CharIterable iterable, CharPredicate predicate) private
SelectCharIterator
(CharIterator iterator, CharPredicate predicate) -
Method Summary
-
Field Details
-
iterator
-
predicate
-
next
private char next -
verifiedHasNext
private boolean verifiedHasNext
-
-
Constructor Details
-
SelectCharIterator
-
SelectCharIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceCharIterator
-
next
public char next()- Specified by:
next
in interfaceCharIterator
-