Class FilterContainerViewIterator<E>
java.lang.Object
ch.nolix.base.container.arraylist.FilterContainerViewIterator<E>
- Type Parameters:
E- is the type of the elements of aFilterContainerViewIterator.
- All Implemented Interfaces:
CopyableIterator<E>, Copyable<CopyableIterator<E>>, Iterator<E>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> FilterContainerViewIterator<T> forIteratorAndSelector(CopyableIterator<T> iterator, Predicate<T> selector) getCopy()booleanhasNext()next()Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, remove
-
Method Details
-
forIteratorAndSelector
public static <T> FilterContainerViewIterator<T> forIteratorAndSelector(CopyableIterator<T> iterator, Predicate<T> selector) -
getCopy
-
hasNext
-
next
-