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 |
---|---|
Class |
comparator
Deprecated.
Specifies the comparator to use.
|
SortType |
type
Deprecated.
The type of sorting to use.
|
public abstract SortType type
public abstract Class comparator
type()
specifies SortType.COMPARATOR
.
TODO find a way to use ClassCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.