public interface Comparator
Comparator
in return value.Modifier and Type | Field and Description |
---|---|
static int |
EQUAL |
static int |
GREATER |
static int |
LESS |
static int |
UNDECIDABLE |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
compare to value types and decides its order relation
|
static final int LESS
static final int EQUAL
static final int GREATER
static final int UNDECIDABLE