ewe.database
Class DatabaseEntryCompareInts

java.lang.Object
  extended byewe.database.DatabaseEntryCompareInts
All Implemented Interfaces:
CompareInts

public class DatabaseEntryCompareInts
extends Object
implements CompareInts


Constructor Summary
DatabaseEntryCompareInts(Database database, int[] criteria)
           
 
Method Summary
 int compare(int one, int two)
          This should return <0 if one is considered less than two, >0 if one is considered more than two, and 0 if they are considered equal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

DatabaseEntryCompareInts

public DatabaseEntryCompareInts(Database database,
                                int[] criteria)
Method Detail

compare

public int compare(int one,
                   int two)
Description copied from interface: CompareInts
This should return <0 if one is considered less than two, >0 if one is considered more than two, and 0 if they are considered equal.

Specified by:
compare in interface CompareInts