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
Comparator
direction
- sorting directionpublic T getSorted()
Comparator
public SortDirection getDirection()
Copyright © 2020. All rights reserved.