All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.util.CompareAdapter
java.lang.Object
|
+----jp.kyasu.util.CompareAdapter
- public abstract class CompareAdapter
- extends Object
- implements Comparer
The adapter for the comparison operations.
The methods in this class are empty; this class is provided as a
convenience for easily creating comparers by extending this class
and overriding only the methods of interest.
- Version:
- 15 Aug 1997
- Author:
- Kazuki YASUMATSU
- See Also:
- Comparer, Sorter
-
CompareAdapter()
-
-
compare(boolean, boolean)
- Returns <0 if x < y, etc.
-
compare(byte, byte)
- Returns <0 if x < y, etc.
-
compare(char, char)
- Returns <0 if x < y, etc.
-
compare(double, double)
- Returns <0 if x < y, etc.
-
compare(float, float)
- Returns <0 if x < y, etc.
-
compare(int, int)
- Returns <0 if x < y, etc.
-
compare(long, long)
- Returns <0 if x < y, etc.
-
compare(Object, Object)
- Returns <0 if x < y, etc.
-
compare(short, short)
- Returns <0 if x < y, etc.
CompareAdapter
public CompareAdapter()
compare
public int compare(Object x,
Object y)
- Returns <0 if x < y, etc.
compare
public int compare(boolean x,
boolean y)
- Returns <0 if x < y, etc.
compare
public int compare(byte x,
byte y)
- Returns <0 if x < y, etc.
compare
public int compare(char x,
char y)
- Returns <0 if x < y, etc.
compare
public int compare(short x,
short y)
- Returns <0 if x < y, etc.
compare
public int compare(int x,
int y)
- Returns <0 if x < y, etc.
compare
public int compare(long x,
long y)
- Returns <0 if x < y, etc.
compare
public int compare(float x,
float y)
- Returns <0 if x < y, etc.
compare
public int compare(double x,
double y)
- Returns <0 if x < y, etc.
All Packages Class Hierarchy This Package Previous Next Index