jdbm.btree
Class BTree.EmptyBrowser

java.lang.Object
  extended by jdbm.helper.TupleBrowser
      extended by jdbm.btree.BTree.EmptyBrowser
Enclosing class:
BTree

static class BTree.EmptyBrowser
extends TupleBrowser

PRIVATE INNER CLASS Browser returning no element.


Field Summary
(package private) static TupleBrowser INSTANCE
           
 
Constructor Summary
BTree.EmptyBrowser()
           
 
Method Summary
 boolean getNext(Tuple tuple)
          Get the next tuple.
 boolean getPrevious(Tuple tuple)
          Get the previous tuple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

static TupleBrowser INSTANCE
Constructor Detail

BTree.EmptyBrowser

BTree.EmptyBrowser()
Method Detail

getNext

public boolean getNext(Tuple tuple)
Description copied from class: TupleBrowser
Get the next tuple.

Specified by:
getNext in class TupleBrowser
Parameters:
tuple - Tuple into which values are copied.
Returns:
True if values have been copied in tuple, or false if there is no next tuple.

getPrevious

public boolean getPrevious(Tuple tuple)
Description copied from class: TupleBrowser
Get the previous tuple.

Specified by:
getPrevious in class TupleBrowser
Parameters:
tuple - Tuple into which values are copied.
Returns:
True if values have been copied in tuple, or false if there is no previous tuple.


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