Package com.strobel.core
Class CollectionUtilities.WhereSelectIterableIterator<T,R>
- java.lang.Object
-
- com.strobel.core.CollectionUtilities.AbstractIterator<R>
-
- com.strobel.core.CollectionUtilities.WhereSelectIterableIterator<T,R>
-
- All Implemented Interfaces:
java.lang.Iterable<R>
,java.util.Iterator<R>
- Enclosing class:
- CollectionUtilities
private static final class CollectionUtilities.WhereSelectIterableIterator<T,R> extends CollectionUtilities.AbstractIterator<R>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Predicate<? super T>
filter
(package private) java.util.Iterator<T>
iterator
(package private) Selector<? super T,? extends R>
selector
(package private) java.lang.Iterable<T>
source
-
Fields inherited from class com.strobel.core.CollectionUtilities.AbstractIterator
next, state, STATE_FINISHED, STATE_HAS_NEXT, STATE_NEED_NEXT, STATE_UNINITIALIZED, threadId
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CollectionUtilities.WhereSelectIterableIterator<T,R>
clone()
boolean
hasNext()
<R2> java.lang.Iterable<R2>
select(Selector<? super R,? extends R2> selector)
java.lang.Iterable<R>
where(Predicate<? super R> filter)
-
Methods inherited from class com.strobel.core.CollectionUtilities.AbstractIterator
iterator, next, remove
-
-
-
-
Method Detail
-
clone
protected CollectionUtilities.WhereSelectIterableIterator<T,R> clone()
- Specified by:
clone
in classCollectionUtilities.AbstractIterator<R>
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<T>
- Specified by:
hasNext
in classCollectionUtilities.AbstractIterator<R>
-
-