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

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

public class AStarHeapIterator<NODE>
extends Object
implements Iterator

Clasical iterator for AStarHeap.


Constructor Summary
AStarHeapIterator(NODE[] myNodes, int myItems, AStarHeap<NODE> myHeap)
           
 
Method Summary
 boolean hasNext()
           
 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 Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.