public class NumberComparator extends Object implements Comparator<Number>, Serializable
| Constructor and Description |
|---|
NumberComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Number x,
Number y) |
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 x, Number y)
compare in interface Comparator<Number>Copyright © 2017. All rights reserved.