public class LongComparator extends Object implements Comparator<Long>
Modifier and Type | Field and Description |
---|---|
static LongComparator |
INSTANCE
A static instance of a LongComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Long long1,
Long long2)
Compare two longs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final LongComparator INSTANCE
public int compare(Long long1, Long long2)
compare
in interface Comparator<Long>
long1
- First longlong2
- Second longCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.