SortComparator or SortNatural instead depending on need.@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Deprecated
public @interface Sort
OrderBy| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class |
comparator
Deprecated.
Specifies the comparator to use.
|
SortType |
type
Deprecated.
The type of sorting to use.
|
public abstract SortType type
public abstract java.lang.Class comparator
type() specifies SortType.COMPARATOR.
TODO find a way to use ClassCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.