public class StandardComparer extends Object implements Comparer
Modifier and Type | Field and Description |
---|---|
static StandardComparer |
comparer |
Constructor and Description |
---|
StandardComparer() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object one,
Object two)
This should compare the two objects and return:
0 = the objects are equal.
|
static int |
standardCompare(Object one,
Object two) |
static int |
standardCompareIgnoreCase(Object one,
Object two) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final StandardComparer comparer
public int compare(Object one, Object two)
Comparer
compare
in interface Comparer
compare
in interface Comparator
one
- the first objecttwo
- the second object