| Package | Description |
|---|---|
| de.alpharogroup.comparators |
This package provides utility classes for comparators and set the sort order
|
| Modifier and Type | Field and Description |
|---|---|
static SortOrder |
SortOrderComparator.DEFAULT_SORT_ORDER
The constant default sort order.
|
| Modifier and Type | Method and Description |
|---|---|
static SortOrder |
SortOrder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortOrder[] |
SortOrder.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
ComparatorExtensions.compare(T object,
T compareWithObject,
SortOrder sortOrder)
Compares the given objects and returns the int value.
|
static <T extends Comparable<T>> |
SortOrderComparator.of(SortOrder sortOrder)
Factory method to create a new
SortOrderComparator with the default sort order. |
| Constructor and Description |
|---|
SortOrderComparator(SortOrder sortOrder)
Instantiates a new
SortOrderComparator with the given sort order. |
Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.