public interface CanCompareInt
ArrayOfInt.sort(CanCompareInt)
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 comparedb
- the second integer to be comparedCopyright © 2018. All rights reserved.