org.apache.directory.server.core.partition.impl.btree.jdbm
Class BTreeIterator

java.lang.Object
  extended by org.apache.directory.server.core.partition.impl.btree.jdbm.BTreeIterator
All Implemented Interfaces:
java.util.Iterator

public class BTreeIterator
extends java.lang.Object
implements java.util.Iterator

A NamingEnumeration that returns keys in a BTree. This is used specifically for situations when tables support duplicate keys and a BTree is used for storing the values for that key. This enumeration thus advances a browser forwards returning keys from a BTree as values.

Version:
$Rev$
Author:
Apache Directory Project

Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.