gov.nist.nlpir.irf.index.braf
Class HashBlockEnumerator

java.lang.Object
  |
  +--gov.nist.nlpir.irf.index.braf.HashBlockEnumerator

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

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


Field Summary
(package private)  HashBlockEntry entry
           
(package private)  int index
           
(package private)  boolean keys
           
(package private)  HashBlockEntry[] table
           
 
Constructor Summary
(package private) HashBlockEnumerator(HashBlockEntry[] 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, registerNatives, toString, wait, wait, wait
 

Field Detail

keys

boolean keys

index

int index

table

HashBlockEntry[] table

entry

HashBlockEntry entry
Constructor Detail

HashBlockEnumerator

HashBlockEnumerator(HashBlockEntry[] 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