public class OutputOrderComparator<T extends Comparable<T>> extends Object implements Comparator<T>
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
predefinedOrder |
| Constructor and Description |
|---|
OutputOrderComparator(T[] outputOrder) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
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, thenComparingLongprotected List<T extends Comparable<T>> predefinedOrder
public OutputOrderComparator(T[] outputOrder)
public int compare(T o1, T o2)
compare in interface Comparator<T extends Comparable<T>>Copyright © 2018 Flowable. All rights reserved.