public class RecordComparator extends Object implements Comparator<Record>
| Constructor and Description |
|---|
RecordComparator(IEntry entry,
boolean bIsAscSort)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Record r1,
Record r2)
Compare two records
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic RecordComparator(IEntry entry, boolean bIsAscSort)
entry - the entry to comparebIsAscSort - true if it is sorted asc, false otherwisepublic int compare(Record r1, Record r2)
compare in interface Comparator<Record>r1 - Record 1r2 - Record 2Copyright © 2015 City of Paris. All rights reserved.