Class AbstractFilteredIterator<T>
- java.lang.Object
- 
- org.eclipse.net4j.util.collection.AbstractIterator<T>
- 
- org.eclipse.net4j.util.collection.AbstractFilteredIterator<T>
 
 
- 
- All Implemented Interfaces:
- java.util.Iterator<T>
 - Direct Known Subclasses:
- AbstractFilteredIterator.Predicated,- LimitedIterator,- PredicateIterator
 
 public abstract class AbstractFilteredIterator<T> extends AbstractIterator<T> An abstract base class for custom iterators thatfilterthe elements of a delegate iterator.- Since:
- 3.3
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAbstractFilteredIterator.Predicated<T>
 - 
Field Summary- 
Fields inherited from class org.eclipse.net4j.util.collection.AbstractIteratorEND_OF_DATA
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractFilteredIterator(java.util.Iterator<T> delegate)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectcomputeNextElement()Returns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.protected abstract booleanisValid(T element)voidremove()- 
Methods inherited from class org.eclipse.net4j.util.collection.AbstractIteratorempty, hasNext, next
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractFilteredIteratorpublic AbstractFilteredIterator(java.util.Iterator<T> delegate) 
 
- 
 - 
Method Detail- 
removepublic void remove() - Specified by:
- removein interface- java.util.Iterator<T>
- Overrides:
- removein class- AbstractIterator<T>
 
 - 
computeNextElementprotected java.lang.Object 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 class- AbstractIterator<T>
 
 - 
isValidprotected abstract boolean isValid(T element) 
 
- 
 
-