arlut.csd.ganymede
Class DBObjectTableEnumerator

java.lang.Object
  |
  +--arlut.csd.ganymede.DBObjectTableEnumerator
All Implemented Interfaces:
java.util.Enumeration

class DBObjectTableEnumerator
extends java.lang.Object
implements java.util.Enumeration

A DBObjectTable enumerator class. This class should remain opaque to the client, which will use the Enumeration interface.


Field Summary
(package private)  DBObject entry
           
(package private)  int index
           
(package private)  DBObject[] table
           
 
Constructor Summary
(package private) DBObjectTableEnumerator(DBObject[] table)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

index

int index

table

DBObject[] table

entry

DBObject entry
Constructor Detail

DBObjectTableEnumerator

DBObjectTableEnumerator(DBObject[] table)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration