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 com.webobjects.foundation.NSSelector |
ASC |
static com.webobjects.foundation.NSSelector |
DESC |
static com.webobjects.foundation.NSSelector |
INS_ASC |
static com.webobjects.foundation.NSSelector |
INS_DESC |
Constructor and Description |
---|
ERXS() |
Modifier and Type | Method and Description |
---|---|
static ERXSortOrdering |
asc(String key) |
static ERXSortOrdering |
ascInsensitive(String key) |
static ERXSortOrdering.ERXSortOrderings |
ascInsensitives(String... keys) |
static ERXSortOrdering.ERXSortOrderings |
ascs(String... keys) |
static ERXSortOrdering.ERXSortOrderings |
chain(com.webobjects.eocontrol.EOSortOrdering... sortOrderings) |
static ERXSortOrdering.ERXSortOrderings |
chain(NSArray<com.webobjects.eocontrol.EOSortOrdering>... arr) |
static ERXSortOrdering |
desc(String key) |
static ERXSortOrdering |
descInsensitive(String key) |
static ERXSortOrdering.ERXSortOrderings |
descInsensitives(String... keys) |
static ERXSortOrdering.ERXSortOrderings |
descs(String... keys) |
static <T> void |
sort(NSMutableArray<T> array,
com.webobjects.eocontrol.EOSortOrdering... orderings) |
static <T> void |
sort(NSMutableArray<T> array,
NSArray<com.webobjects.eocontrol.EOSortOrdering> orderings) |
static <T> NSArray<T> |
sorted(NSArray<T> array,
com.webobjects.eocontrol.EOSortOrdering... orderings) |
static <T> NSArray<T> |
sorted(NSArray<T> array,
NSArray<com.webobjects.eocontrol.EOSortOrdering> orderings) |
static ERXSortOrdering |
sortOrder(String key,
com.webobjects.foundation.NSSelector comparison) |
static ERXSortOrdering.ERXSortOrderings |
sortOrders(com.webobjects.foundation.NSSelector sel,
String... keys) |
static ERXSortOrdering.ERXSortOrderings |
sortOrders(String key,
com.webobjects.foundation.NSSelector comparison) |
static ERXSortOrdering.ERXSortOrderings |
sortOrders(String key1,
com.webobjects.foundation.NSSelector comparison1,
String key2,
com.webobjects.foundation.NSSelector comparison2) |
public static final com.webobjects.foundation.NSSelector ASC
public static final com.webobjects.foundation.NSSelector DESC
public static final com.webobjects.foundation.NSSelector INS_ASC
public static final com.webobjects.foundation.NSSelector INS_DESC
public static ERXSortOrdering sortOrder(String key, com.webobjects.foundation.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, com.webobjects.foundation.NSSelector comparison)
public static ERXSortOrdering.ERXSortOrderings sortOrders(String key1, com.webobjects.foundation.NSSelector comparison1, String key2, com.webobjects.foundation.NSSelector comparison2)
public static ERXSortOrdering.ERXSortOrderings sortOrders(com.webobjects.foundation.NSSelector sel, String... keys)
public static <T> void sort(NSMutableArray<T> array, com.webobjects.eocontrol.EOSortOrdering... orderings)
public static <T> void sort(NSMutableArray<T> array, NSArray<com.webobjects.eocontrol.EOSortOrdering> orderings)
public static <T> NSArray<T> sorted(NSArray<T> array, com.webobjects.eocontrol.EOSortOrdering... orderings)
public static <T> NSArray<T> sorted(NSArray<T> array, NSArray<com.webobjects.eocontrol.EOSortOrdering> orderings)
public static ERXSortOrdering.ERXSortOrderings chain(com.webobjects.eocontrol.EOSortOrdering... sortOrderings)
public static ERXSortOrdering.ERXSortOrderings chain(NSArray<com.webobjects.eocontrol.EOSortOrdering>... arr)
Copyright © 2002 – 2020 Project Wonder.