org.n52.security.common.collections
Class FilterIterator<NewType,OldType>

java.lang.Object
  extended by org.n52.security.common.collections.FilterIterator<NewType,OldType>
All Implemented Interfaces:
Iterator<NewType>

public class FilterIterator<NewType,OldType>
extends Object
implements Iterator<NewType>


Constructor Summary
FilterIterator(Iterator<OldType> decoratedIterator, Filter<NewType,OldType> filter)
           
 
Method Summary
 boolean hasNext()
           
 NewType next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterIterator

public FilterIterator(Iterator<OldType> decoratedIterator,
                      Filter<NewType,OldType> filter)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<NewType>

next

public NewType next()
Specified by:
next in interface Iterator<NewType>

remove

public void remove()
Specified by:
remove in interface Iterator<NewType>


Copyright © 2004–2013 52north.org. All rights reserved.