public class LongNumberComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.Number>
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Number o1,
java.lang.Number o2) |
static LongNumberComparator |
getInstance()
Get the long number comparator.
|
public static LongNumberComparator getInstance()
public int compare(java.lang.Number o1, java.lang.Number o2)
compare
in interface java.util.Comparator<java.lang.Number>