public class NumberComparator extends Object implements Comparator<Number>
| Constructor and Description |
|---|
NumberComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Number number1,
Number number2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Number number1, Number number2)
compare in interface Comparator<Number>Copyright © 2019. All rights reserved.