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 CharIteratoriteratorprivate charnextprivate CharPredicatepredicateprivate booleanverifiedHasNext
-
Constructor Summary
Constructors Modifier Constructor Description privateSelectCharIterator(CharIterable iterable, CharPredicate predicate)privateSelectCharIterator(CharIterator iterator, CharPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()charnext()
-
-
-
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:
hasNextin interfaceCharIterator
-
next
public char next()
- Specified by:
nextin interfaceCharIterator
-
-