public class OrderComparator<E extends Entity> extends Object implements Comparator<E>
Constructor and Description |
---|
OrderComparator(LinkedList<OrderField<E,?,?>> order) |
Modifier and Type | Method and Description |
---|---|
int |
compare(E o1,
E o2) |
LinkedList<OrderField<E,?,?>> |
getOrderList() |
void |
setOrderList(LinkedList<OrderField<E,?,?>> orderList) |
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
public OrderComparator(LinkedList<OrderField<E,?,?>> order)
public int compare(E o1, E o2)
compare
in interface Comparator<E extends Entity>
public LinkedList<OrderField<E,?,?>> getOrderList()
public void setOrderList(LinkedList<OrderField<E,?,?>> orderList)
Copyright © 2021. All rights reserved.