| Constructor and Description |
|---|
DefaultComparing(T value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(T other)
Compares the two objects, including testing for null.
|
boolean |
gt(T other)
Returns whether x is greater than y.
|
boolean |
gte(T other)
Returns whether x is greater than or equal to y.
|
boolean |
lt(T other)
Returns whether x is less than y.
|
boolean |
lte(T other)
Returns whether x is less than or equal to y.
|
public DefaultComparing(T value)
public boolean lt(T other)
Comparingpublic boolean lte(T other)
Comparingpublic boolean gt(T other)
Comparingpublic boolean gte(T other)
Comparing