public interface CanCompareNumber
ArrayOfNumber.sort(CanCompareNumber)
Modifier and Type | Method and Description |
---|---|
int |
compare(double a,
double b)
Compares its two arguments for order.
|
int compare(double a, double b)
a
- the first number to be comparedb
- the second number to be comparedCopyright © 2016. All rights reserved.