org.graphstream.util
Class FilteredNodeIterator<T extends Node>

java.lang.Object
  extended by org.graphstream.util.FilteredNodeIterator<T>
All Implemented Interfaces:
Iterator<T>

public class FilteredNodeIterator<T extends Node>
extends Object
implements Iterator<T>


Constructor Summary
FilteredNodeIterator(Graph g, Filter<Node> filter)
           
FilteredNodeIterator(Iterator<T> ite, Filter<Node> filter)
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredNodeIterator

public FilteredNodeIterator(Graph g,
                            Filter<Node> filter)

FilteredNodeIterator

public FilteredNodeIterator(Iterator<T> ite,
                            Filter<Node> filter)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T extends Node>

next

public T next()
Specified by:
next in interface Iterator<T extends Node>

remove

public void remove()
Specified by:
remove in interface Iterator<T extends Node>


Copyright © 2012. All Rights Reserved.