cz.cuni.amis.utils.astar
Class AStarHeapIterator<NODE>

java.lang.Object
  extended by cz.cuni.amis.utils.astar.AStarHeapIterator<NODE>
All Implemented Interfaces:
java.util.Iterator

public class AStarHeapIterator<NODE>
extends java.lang.Object
implements java.util.Iterator

Clasical iterator for AStarHeap.


Constructor Summary
AStarHeapIterator(NODE[] myNodes, int myItems, AStarHeap<NODE> myHeap)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AStarHeapIterator

public AStarHeapIterator(NODE[] myNodes,
                         int myItems,
                         AStarHeap<NODE> myHeap)
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

remove

public void remove()
Specified by:
remove in interface java.util.Iterator