org.openmobileis.database.fastobjectdb.db.query.soda
Class SodaLongIndexComparator

java.lang.Object
  |
  +--org.openmobileis.database.fastobjectdb.db.query.soda.SodaIndexComparator
        |
        +--org.openmobileis.database.fastobjectdb.db.query.soda.SodaLongIndexComparator

public final class SodaLongIndexComparator
extends SodaIndexComparator

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Fields inherited from class org.openmobileis.database.fastobjectdb.db.query.soda.SodaIndexComparator
FULL_TRAVERSAL, INF_EQUALS_TRAVERSAL, SUP_EQUALS_TRAVERSAL
 
Constructor Summary
SodaLongIndexComparator()
           
 
Method Summary
 boolean addComparator(int comparator)
           
 int compareTo(long searchInt)
          return >0 if the key is after the specified search int, <0 if before and 0 if equals.
 int getSearchAlgo()
           
 boolean isSelected(long searchInt)
          return true if the key must be selected for the specified search int
 void mergeIndexComporator(SodaIndexComparator index)
           
 boolean setOperand(java.lang.Object ope)
           
 
Methods inherited from class org.openmobileis.database.fastobjectdb.db.query.soda.SodaIndexComparator
getTraversalWayWithComparator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SodaLongIndexComparator

public SodaLongIndexComparator()
Method Detail

setOperand

public boolean setOperand(java.lang.Object ope)
Overrides:
setOperand in class SodaIndexComparator

mergeIndexComporator

public void mergeIndexComporator(SodaIndexComparator index)
Overrides:
mergeIndexComporator in class SodaIndexComparator

addComparator

public boolean addComparator(int comparator)
Overrides:
addComparator in class SodaIndexComparator

getSearchAlgo

public int getSearchAlgo()
Overrides:
getSearchAlgo in class SodaIndexComparator

isSelected

public boolean isSelected(long searchInt)
return true if the key must be selected for the specified search int

compareTo

public int compareTo(long searchInt)
return >0 if the key is after the specified search int, <0 if before and 0 if equals.


Copyright 2005 e-Care. All Rights Reserved.