jdbm.htree
Class HashDirectory.HDIterator

java.lang.Object
  extended by jdbm.helper.FastIterator
      extended by jdbm.htree.HashDirectory.HDIterator
Enclosing class:
HashDirectory

public class HashDirectory.HDIterator
extends FastIterator

Utility class to enumerate keys/values in a HTree


Constructor Summary
HashDirectory.HDIterator(boolean iterateKeys)
          Construct an iterator on this directory.
 
Method Summary
 java.lang.Object next()
          Returns the next object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashDirectory.HDIterator

HashDirectory.HDIterator(boolean iterateKeys)
                   throws java.io.IOException
Construct an iterator on this directory.

Parameters:
iterateKeys - True if iteration supplies keys, False if iterateKeys supplies values.
Throws:
java.io.IOException
Method Detail

next

public java.lang.Object next()
Returns the next object.

Specified by:
next in class FastIterator
Returns:
the next element in the iteration, or null if no more element.


Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net