modnlp.idx.database
public class DescIntComparator extends java.lang.Object implements java.util.Comparator, java.io.Serializable
,
Serialized FormConstructor and Description |
---|
DescIntComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object d1,
java.lang.Object d2)
Compare two objects for sorting in descending order.
|
public int compare(java.lang.Object d1, java.lang.Object d2)
compare
in interface java.util.Comparator
d1
- an Object
valued2
- an Object
valueint
value