com.ibm.di.btree
Class DBEnumeration

java.lang.Object
  extended by com.ibm.di.btree.DBEnumeration
All Implemented Interfaces:
Enumeration

public class DBEnumeration
extends Object
implements Enumeration


Constructor Summary
DBEnumeration(DBFile db, DBNode root, boolean keys)
           
 
Method Summary
 int getMaxDepth()
           
 Object getNextObject()
           
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBEnumeration

public DBEnumeration(DBFile db,
                     DBNode root,
                     boolean keys)
Method Detail

getMaxDepth

public int getMaxDepth()

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration

getNextObject

public Object getNextObject()
                     throws Exception
Throws:
Exception