T - public class NumberComparator<T extends Number & Comparable<T>> extends Object implements Comparator<T>
| Constructor and Description |
|---|
NumberComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T a,
T b) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic NumberComparator()
public int compare(T a, T b) throws ClassCastException
compare in interface Comparator<T extends Number & Comparable<T>>ClassCastException
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann