intarsys runtime library

de.intarsys.tools.collection
Class FilterIterator<T>

java.lang.Object
  extended by 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.


Method Summary
 Iterator<T> getBaseIterator()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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>

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.