T - the type of the sorting information, usually a String (field id)
or a Comparator.public class SortOrder<T> extends Object implements Serializable
| Constructor and Description |
|---|
SortOrder(T sorted,
SortDirection direction)
Constructs a field sorting information.
|
| Modifier and Type | Method and Description |
|---|---|
SortDirection |
getDirection()
Sorting direction.
|
T |
getSorted()
Sorting information.
|
public SortOrder(T sorted, SortDirection direction)
sorted - sorting information, usually field id or
Comparatordirection - sorting directionpublic T getSorted()
Comparatorpublic SortDirection getDirection()
Copyright © 2025. All rights reserved.