net.sourceforge.combean.graph.iterators
Class CombinedPairEdgeIterator

Package class diagram package CombinedPairEdgeIterator
java.lang.Object
  extended by net.sourceforge.combean.graph.iterators.CombinedPairEdgeIterator
All Implemented Interfaces:
EdgeIterator

public class CombinedPairEdgeIterator
extends Object
implements EdgeIterator


Constructor Summary
CombinedPairEdgeIterator(EdgeIterator itFirst, EdgeIterator itSecond)
           
 
Method Summary
 boolean hasNext()
          Check if further edges exist for this iteration.
 Edge next()
          Switch to the next edge in the iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedPairEdgeIterator

public CombinedPairEdgeIterator(EdgeIterator itFirst,
                                EdgeIterator itSecond)
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: EdgeIterator
Check if further edges exist for this iteration.

Specified by:
hasNext in interface EdgeIterator
Returns:
true if there are further edges

next

public Edge next()
Description copied from interface: EdgeIterator
Switch to the next edge in the iteration.

Specified by:
next in interface EdgeIterator
Returns:
the next edge