public abstract class ASimplePriorityRule<T extends Comparable<T>> extends Object implements IPriorityRule
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_OPERATION_NAME |
static String |
MIN_OPERATION_NAME |
| Constructor and Description |
|---|
ASimplePriorityRule(String tablePropertyName) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ITableProperties properties1,
ITableProperties properties2) |
int |
compare(T value1,
T value2) |
abstract int |
compareNotNulls(T propertyValue1,
T propertyValue2) |
abstract String |
getOperationName() |
abstract T |
getProprtyValue(ITableProperties properties) |
String |
getTablePropertyName() |
int |
MAX(T value1,
T value2) |
int |
MIN(T value1,
T value2) |
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 static final String MIN_OPERATION_NAME
public static final String MAX_OPERATION_NAME
public ASimplePriorityRule(String tablePropertyName)
public String getTablePropertyName()
public abstract String getOperationName()
public abstract T getProprtyValue(ITableProperties properties)
public int compare(ITableProperties properties1, ITableProperties properties2)
compare in interface Comparator<ITableProperties>compare in interface IPriorityRuleCopyright © 2004–2019 OpenL Tablets. All rights reserved.