public final class LongComparator extends Object implements Comparator<Long>, Serializable
Constructor and Description |
---|
LongComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Long obj1,
Long obj2)
Compare two objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Long obj1, Long obj2)
compare
in interface Comparator<Long>
obj1
- First objectobj2
- Second objectCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.