|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.utils.sort.RecordComparator
public class RecordComparator
RecordComparator
Constructor Summary | |
---|---|
RecordComparator(IEntry entry,
boolean bIsAscSort)
Constructor |
Method Summary | |
---|---|
int |
compare(Record r1,
Record r2)
Compare two records |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public RecordComparator(IEntry entry, boolean bIsAscSort)
nIdEntry
- ID entry to comparebIsAscSort
- true if it is sorted asc, false otherwiseMethod Detail |
---|
public int compare(Record r1, Record r2)
compare
in interface java.util.Comparator<Record>
r1
- Record 1r2
- Record 2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |