| Package | Description |
|---|---|
| com.mtnfog.entity.comparators |
| Modifier and Type | Method and Description |
|---|---|
EntityComparator.Order |
EntityComparator.getSortingBy()
Gets the sorting order.
|
static EntityComparator.Order |
EntityComparator.Order.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityComparator.Order[] |
EntityComparator.Order.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Entity> |
EntityComparator.sort(Set<Entity> entities,
EntityComparator.Order sortingBy)
Sort the entities.
|
| Constructor and Description |
|---|
EntityComparator(EntityComparator.Order sortingBy)
Creates a new
EntityComparator with the given
sorting method. |
Copyright © 2017. All rights reserved.