edu.byu.ece.edif.arch.xilinx
Class InstanceHierarchyIterator

java.lang.Object
  extended by edu.byu.ece.edif.arch.xilinx.InstanceHierarchyIterator
All Implemented Interfaces:
java.util.Iterator

 class InstanceHierarchyIterator
extends java.lang.Object
implements java.util.Iterator

This is an iterator class for the InstanceHierarchy object. This iterator will start at the bottom of the hierarchy and move up towards the top.


Field Summary
(package private)  InstanceHierarchy _current
           
 
Constructor Summary
InstanceHierarchyIterator(InstanceHierarchy bottom)
           
 
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

_current

InstanceHierarchy _current
Constructor Detail

InstanceHierarchyIterator

public InstanceHierarchyIterator(InstanceHierarchy bottom)
Method Detail

hasNext

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

remove

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

next

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