public class BackgroundTaskNameComparator extends OrderByComparator<BackgroundTask>
Modifier and Type | Field and Description |
---|---|
static String |
ORDER_BY_ASC |
static String |
ORDER_BY_DESC |
static String[] |
ORDER_BY_FIELDS |
Constructor and Description |
---|
BackgroundTaskNameComparator() |
BackgroundTaskNameComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(BackgroundTask backgroundTask1,
BackgroundTask backgroundTask2) |
String |
getOrderBy() |
String[] |
getOrderByFields() |
boolean |
isAscending() |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final String ORDER_BY_ASC
public static final String ORDER_BY_DESC
public static final String[] ORDER_BY_FIELDS
public BackgroundTaskNameComparator()
public BackgroundTaskNameComparator(boolean ascending)
public int compare(BackgroundTask backgroundTask1, BackgroundTask backgroundTask2)
public String getOrderBy()
getOrderBy
in class OrderByComparator<BackgroundTask>
public String[] getOrderByFields()
getOrderByFields
in class OrderByComparator<BackgroundTask>
public boolean isAscending()
isAscending
in class OrderByComparator<BackgroundTask>