public class NumericComparator<T> extends Object implements Comparator<T>
| Constructor and Description |
|---|
NumericComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T value1,
T value2) |
static int |
nullLastCompare(Integer number1,
Integer number2) |
static int |
nullLastCompare(Object value1,
Object value2) |
static int |
numericCompare(Object value1,
Object value2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(T value1, T value2)
compare in interface Comparator<T>Copyright © 2015 Revolution Systems Inc.. All rights reserved.