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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public 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