org.apache.xalan.xsltc.runtime
Class Hashtable.HashtableEnumerator

java.lang.Object
  extended by org.apache.xalan.xsltc.runtime.Hashtable.HashtableEnumerator
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
Hashtable

static class Hashtable.HashtableEnumerator
extends java.lang.Object
implements java.util.Enumeration

A hashtable enumerator class. This class should remain opaque to the client. It will use the Enumeration interface.


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

Field Detail

keys

boolean keys

index

int index

table

HashtableEntry[] table

entry

HashtableEntry entry
Constructor Detail

Hashtable.HashtableEnumerator

Hashtable.HashtableEnumerator(HashtableEntry[] table,
                              boolean keys)
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