- All Superinterfaces:
java.lang.Iterable<Order>, java.io.Serializable
- All Known Implementing Classes:
SortingImpl
public interface Sorting
extends java.lang.Iterable<Order>, java.io.Serializable
-
Nested Class Summary
Nested Classes
| Modifier and Type |
Interface |
Description |
static class |
Sorting.Builder |
|
-
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
Method Details
-
and
Returns a new
Sorting consisting of the
Orders of the current
Sorting
combined with the given ones.
- Parameters:
sorting - can be null.
- Returns:
- a new combined sort
-
getOrderFor
Order getOrderFor(
java.lang.String property)
Returns the order registered for the given property.
- Parameters:
property - given property
- Returns:
- the order registered for the given property
-
getOrders
java.util.List<Order> getOrders()
-