org.openstreetmap.josm.tools
Class SubclassFilteredCollection.FilterIterator

java.lang.Object
  extended by org.openstreetmap.josm.tools.SubclassFilteredCollection.FilterIterator
All Implemented Interfaces:
java.util.Iterator<T>
Enclosing class:
SubclassFilteredCollection<S,T extends S>

private class SubclassFilteredCollection.FilterIterator
extends java.lang.Object
implements java.util.Iterator<T>


Field Summary
private  S current
           
private  java.util.Iterator<? extends S> iterator
           
 
Constructor Summary
SubclassFilteredCollection.FilterIterator(java.util.Iterator<? extends S> iterator)
           
 
Method Summary
private  void findNext()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterator

private final java.util.Iterator<? extends S> iterator

current

private S current
Constructor Detail

SubclassFilteredCollection.FilterIterator

public SubclassFilteredCollection.FilterIterator(java.util.Iterator<? extends S> iterator)
Method Detail

findNext

private void findNext()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T extends S>

next

public T next()
Specified by:
next in interface java.util.Iterator<T extends S>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T extends S>


JOSM