PROPERTY - Property typepublic interface ItemSort<PROPERTY> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
static <PROPERTY> ItemSort<PROPERTY> |
asc(PROPERTY property)
Create an ascending
ItemSort using given property. |
static <PROPERTY> ItemSort<PROPERTY> |
desc(PROPERTY property)
Create an descending
ItemSort using given property. |
PROPERTY |
getProperty()
Item property to sort
|
boolean |
isAscending()
Sort direction
|
static <PROPERTY> ItemSort<PROPERTY> |
of(PROPERTY property,
boolean ascending)
Create an
ItemSort using given property and sort direction. |
PROPERTY getProperty()
boolean isAscending()
true if ascending, false if descendingstatic <PROPERTY> ItemSort<PROPERTY> of(PROPERTY property, boolean ascending)
ItemSort using given property and sort direction.PROPERTY - Property typeproperty - Property to sort (not null)ascending - true to sort ascending, false for descendingstatic <PROPERTY> ItemSort<PROPERTY> asc(PROPERTY property)
ItemSort using given property.PROPERTY - Property typeproperty - Property to sort (not null)Copyright © 2019 The Holon Platform. All rights reserved.