public interface Comparator
| Modifier and Type | Method and Description |
|---|---|
int |
compare(int a,
int b)
Compares its two arguments for order.
|
int compare(int a,
int b)
a - the first integer to be compared.b - the second integer to be compared.