public class OAComparator extends Object implements Comparator
see HubSortListener
Constructor and Description |
---|
OAComparator(Class clazz,
String propertyPaths,
boolean bAscending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
boolean |
getAsc() |
String |
getPropertyPaths() |
protected void |
init() |
static void |
main(String[] args) |
protected int |
preCheck(Object o1,
Object o2) |
clone, 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
Copyright © 1999–2019 ViaOA. All rights reserved.