Class AbstractFilteredIterator<T>
java.lang.Object
org.eclipse.net4j.util.collection.AbstractIterator<T>
org.eclipse.net4j.util.collection.AbstractFilteredIterator<T>
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
AbstractFilteredIterator.Predicated,LimitedIterator,PredicateIterator
An abstract base class for custom iterators that
filter the elements of a delegate iterator.- Since:
- 3.3
- Author:
- Eike Stepper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.eclipse.net4j.util.collection.AbstractIterator
END_OF_DATA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectReturns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.protected abstract booleanvoidremove()Methods inherited from class org.eclipse.net4j.util.collection.AbstractIterator
empty, hasNext, nextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
AbstractFilteredIterator
-
-
Method Details
-
remove
public void remove() -
computeNextElement
Description copied from class:AbstractIteratorReturns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.- Specified by:
computeNextElementin classAbstractIterator<T>
-
isValid
-