public class ERXS extends Object
ERXS provides lots of much shorter methods of constructing and using EOSortOrdering than the very verbose style that you normally have to use.
Modifier and Type | Field and Description |
---|---|
static NSSelector |
ASC |
static NSSelector |
DESC |
static NSSelector |
INS_ASC |
static NSSelector |
INS_DESC |
Constructor and Description |
---|
ERXS() |
public static final NSSelector ASC
public static final NSSelector DESC
public static final NSSelector INS_ASC
public static final NSSelector INS_DESC
public static ERXSortOrdering sortOrder(String key, NSSelector comparison)
public static ERXSortOrdering desc(String key)
public static ERXSortOrdering.ERXSortOrderings descs(String... keys)
public static ERXSortOrdering asc(String key)
public static ERXSortOrdering.ERXSortOrderings ascs(String... keys)
public static ERXSortOrdering descInsensitive(String key)
public static ERXSortOrdering.ERXSortOrderings descInsensitives(String... keys)
public static ERXSortOrdering ascInsensitive(String key)
public static ERXSortOrdering.ERXSortOrderings ascInsensitives(String... keys)
public static ERXSortOrdering.ERXSortOrderings sortOrders(String key, NSSelector comparison)
public static ERXSortOrdering.ERXSortOrderings sortOrders(String key1, NSSelector comparison1, String key2, NSSelector comparison2)
public static ERXSortOrdering.ERXSortOrderings sortOrders(NSSelector sel, String... keys)
public static <T> void sort(NSMutableArray<T> array, EOSortOrdering... orderings)
public static <T> void sort(NSMutableArray<T> array, NSArray<EOSortOrdering> orderings)
public static <T> NSArray<T> sorted(NSArray<T> array, EOSortOrdering... orderings)
public static <T> NSArray<T> sorted(NSArray<T> array, NSArray<EOSortOrdering> orderings)
public static ERXSortOrdering.ERXSortOrderings chain(EOSortOrdering... sortOrderings)
public static ERXSortOrdering.ERXSortOrderings chain(NSArray<EOSortOrdering>... arr)
Copyright © 2002 – 2024 Project Wonder.