Class SelectShortIterable.SelectShortIterator
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.SelectShortIterable.SelectShortIterator
-
- All Implemented Interfaces:
ShortIterator
- Enclosing class:
- SelectShortIterable
private static final class SelectShortIterable.SelectShortIterator extends java.lang.Object implements ShortIterator
-
-
Field Summary
Fields Modifier and Type Field Description private ShortIteratoriteratorprivate shortnextprivate ShortPredicatepredicateprivate booleanverifiedHasNext
-
Constructor Summary
Constructors Modifier Constructor Description privateSelectShortIterator(ShortIterator iterator, ShortPredicate predicate)privateSelectShortIterator(ShortIterable iterable, ShortPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()shortnext()
-
-
-
Field Detail
-
iterator
private final ShortIterator iterator
-
predicate
private final ShortPredicate predicate
-
next
private short next
-
verifiedHasNext
private boolean verifiedHasNext
-
-
Constructor Detail
-
SelectShortIterator
private SelectShortIterator(ShortIterable iterable, ShortPredicate predicate)
-
SelectShortIterator
private SelectShortIterator(ShortIterator iterator, ShortPredicate predicate)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceShortIterator
-
next
public short next()
- Specified by:
nextin interfaceShortIterator
-
-