注释类型 SortNatural
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface SortNatural
Specifies in-memory Set/Map sorting using natural sorting. NOTE : Sorting is different than ordering (seeOrderBy) which is applied during the SQL SELECT. For sorting based on a comparator, useSortComparatorinstead. It is illegal to combineSortComparatorand SortNatural.- 作者:
- Steve Ebersole
- 另请参阅:
OrderBy,SortComparator