de.intarsys.tools.collection
Class FilterIterator<T>
java.lang.Object
de.intarsys.tools.collection.FilterIterator<T>
- Type Parameters:
T - The object type.
- All Implemented Interfaces:
- Iterator<T>
- Direct Known Subclasses:
- NullFilterIterator
public abstract class FilterIterator<T>
- extends Object
- implements Iterator<T>
Abstract iterator implementation delivering filtered output from a base
iterator.
getBaseIterator
public Iterator<T> getBaseIterator()
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<T>
next
public T next()
- Specified by:
next in interface Iterator<T>
remove
public void remove()
- Specified by:
remove in interface Iterator<T>
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.