net.walend.collection
Class FibIntHeap.ChildIterator

java.lang.Object
  |
  +--net.walend.collection.FibIntHeap.ChildIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
FibIntHeap

private class FibIntHeap.ChildIterator
extends java.lang.Object
implements java.util.Iterator


Field Summary
private  java.util.Iterator currentChildIterator
           
private  IntHeapMember currentNode
           
private  FibIntHeap heap
           
private  IntHeapMember startNode
           
 
Constructor Summary
FibIntHeap.ChildIterator(IntHeapMember node, FibIntHeap heap)
           
 
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
 

Field Detail

startNode

private IntHeapMember startNode

currentNode

private IntHeapMember currentNode

currentChildIterator

private java.util.Iterator currentChildIterator

heap

private FibIntHeap heap
Constructor Detail

FibIntHeap.ChildIterator

public FibIntHeap.ChildIterator(IntHeapMember node,
                                FibIntHeap heap)
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


Copyright (c) 2001, 2002, David Walend