public class RecordComparator extends Object implements Comparator<Record>
| Constructor and Description |
|---|
RecordComparator(org.z3950.zing.cql.CQLSortNode cqlSortNode,
String... layerNames) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Record rec1,
Record rec2)
Will compare two documents based on alphabetical comparison of the content of the specified fields
using the given sort order and locale if any.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic RecordComparator(org.z3950.zing.cql.CQLSortNode cqlSortNode,
String... layerNames)
public int compare(Record rec1, Record rec2)
compare in interface Comparator<Record>Copyright © 2008-2015 Index Data. All Rights Reserved.