uk.ed.inf.graph.util.impl
Class NodeTreeIterator<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>

java.lang.Object
  extended by uk.ed.inf.graph.util.impl.NodeTreeIterator<N,E>
All Implemented Interfaces:
java.util.Iterator<N>

public class NodeTreeIterator<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
extends java.lang.Object
implements java.util.Iterator<N>


Constructor Summary
NodeTreeIterator(java.util.Iterator<? extends N> topNodeIterator)
           
 
Method Summary
 boolean hasNext()
           
 N next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTreeIterator

public NodeTreeIterator(java.util.Iterator<? extends N> topNodeIterator)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>>

next

public N next()
Specified by:
next in interface java.util.Iterator<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>>