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

java.lang.Object
  extended byorg.openmobileis.database.fastobjectdb.db.query.soda.SodaIndexComparator
      extended byorg.openmobileis.database.fastobjectdb.db.query.soda.SodaIntIndexComparator

public final class SodaIntIndexComparator
extends SodaIndexComparator

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

Field Summary
 
Fields inherited from class org.openmobileis.database.fastobjectdb.db.query.soda.SodaIndexComparator
FULL_TRAVERSAL, INF_EQUALS_TRAVERSAL, SUP_EQUALS_TRAVERSAL
 
Constructor Summary
SodaIntIndexComparator()
           
 
Method Summary
 boolean addComparator(int comparator)
           
 int compareTo(int searchInt)
          return >0 if the key is after the specified search int, <0 if before and 0 if equals.
 int getSearchAlgo()
           
 boolean isSelected(int 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

SodaIntIndexComparator

public SodaIntIndexComparator()
Method Detail

setOperand

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

mergeIndexComporator

public void mergeIndexComporator(SodaIndexComparator index)
Specified by:
mergeIndexComporator in class SodaIndexComparator

addComparator

public boolean addComparator(int comparator)
Specified by:
addComparator in class SodaIndexComparator

getSearchAlgo

public int getSearchAlgo()
Specified by:
getSearchAlgo in class SodaIndexComparator

isSelected

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


compareTo

public int compareTo(int 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.