public class RecordComparator extends Object implements Comparator<Record>, Cloneable
Modifier and Type | Field and Description |
---|---|
protected boolean |
cacheFieldIndexes |
Constructor and Description |
---|
RecordComparator() |
RecordComparator(RecordComparator o) |
Modifier and Type | Method and Description |
---|---|
RecordComparator |
add(String fieldName) |
RecordComparator |
add(String fieldName,
boolean ascending) |
RecordComparator |
add(String fieldName,
boolean ascending,
Collator collator) |
Object |
clone() |
int |
compare(Record record1,
Record record2) |
FieldComparator |
get(int index) |
int |
getCount() |
RecordComparator |
remove(int index) |
RecordComparator |
removeAll() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public RecordComparator()
public RecordComparator(RecordComparator o)
public RecordComparator add(String fieldName)
public RecordComparator add(String fieldName, boolean ascending)
public RecordComparator add(String fieldName, boolean ascending, Collator collator)
public int getCount()
public FieldComparator get(int index)
public RecordComparator remove(int index)
public RecordComparator removeAll()
public int compare(Record record1, Record record2)
compare
in interface Comparator<Record>
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.