net.walend.measured
Class GEBellmanFordTest.BFGEDigraph.NodeIterator

java.lang.Object
  |
  +--net.walend.measured.GEBellmanFordTest.BFGEDigraph.NodeIterator
All Implemented Interfaces:
IndexedIterator, java.util.Iterator
Enclosing class:
GEBellmanFordTest.BFGEDigraph

private class GEBellmanFordTest.BFGEDigraph.NodeIterator
extends java.lang.Object
implements IndexedIterator


Field Summary
private  boolean nextCalled
           
private  java.lang.Object node
           
private  IndexedIterator nodeIterator
           
 
Constructor Summary
protected GEBellmanFordTest.BFGEDigraph.NodeIterator()
           
 
Method Summary
 boolean hasNext()
           
 int index()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeIterator

private IndexedIterator nodeIterator

nextCalled

private boolean nextCalled

node

private java.lang.Object node
Constructor Detail

GEBellmanFordTest.BFGEDigraph.NodeIterator

protected GEBellmanFordTest.BFGEDigraph.NodeIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

index

public int index()
Specified by:
index in interface IndexedIterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException - because the underlying collection is immutable.


Copyright (c) 2001, 2002, David Walend