Project JXTA

net.jxta.impl.cm
Class Indexer.SearchCallback

java.lang.Object
  extended bynet.jxta.impl.cm.Indexer.SearchCallback
All Implemented Interfaces:
BTreeCallback
Enclosing class:
Indexer

public static final class Indexer.SearchCallback
extends Object
implements BTreeCallback


Constructor Summary
Indexer.SearchCallback(BTreeFiler listDB, BTreeCallback callback)
           
 
Method Summary
 boolean indexInfo(Value val, long pos)
          indexInfo is a callback method for index enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indexer.SearchCallback

public Indexer.SearchCallback(BTreeFiler listDB,
                              BTreeCallback callback)
Method Detail

indexInfo

public boolean indexInfo(Value val,
                         long pos)
Description copied from interface: BTreeCallback
indexInfo is a callback method for index enumeration.

Specified by:
indexInfo in interface BTreeCallback
Parameters:
val - The Value being reported
pos - The data pointer being reported
Returns:
false to cancel the enumeration

JXTA J2SE