Interface Sorting
-
- All Superinterfaces:
Iterable<Order>,Serializable
- All Known Implementing Classes:
SortingImpl
public interface Sorting extends Iterable<Order>, Serializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSorting.Builder
-
Field Summary
Fields Modifier and Type Field Description static DirectionDEFAULT_DIRECTION
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Sortingand(Sorting sorting)static Sorting.BuilderdefaultBuilder()OrdergetOrderFor(String property)Returns the order registered for the given property.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Field Detail
-
DEFAULT_DIRECTION
static final Direction DEFAULT_DIRECTION
-
-
Method Detail
-
getOrderFor
Order getOrderFor(String property)
Returns the order registered for the given property.- Parameters:
property- given property- Returns:
- the order registered for the given property
-
defaultBuilder
static Sorting.Builder defaultBuilder()
-
-