public static class ERXSortOrdering.ERXSortOrderings extends NSMutableArray<EOSortOrdering>
NSArray._AvgNumberOperator, NSArray._CountOperator, NSArray._MaxOperator, NSArray._MinOperator, NSArray._Operator, NSArray._SumNumberOperator, NSArray.Operator
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
_capacity, _CLASS, _count, _objectsCache, ERX_MARKER, modCount
_hashCache, _NSArrayClassHashCode, _objects, AverageOperatorName, CheckForNull, CountOperatorName, EmptyArray, IgnoreNull, MaximumOperatorName, MinimumOperatorName, NotFound, SumOperatorName
_KeyPathSeparatorChar, KeyPathSeparator
NullValue
Constructor and Description |
---|
ERXSortOrderings()
Constructs an empty ERXSortOrderings.
|
ERXSortOrderings(EOSortOrdering... sortOrderings)
Constructs an ERXSortOrderings with the list of sort orders.
|
ERXSortOrderings(EOSortOrdering sortOrdering)
Constructs an ERXSortOrderings with one sort order.
|
ERXSortOrderings(NSArray<EOSortOrdering> sortOrderings)
Constructs an ERXSortOrderings with the array of sort orders.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
sort(NSMutableArray<T> array)
Sorts the given array with this sort ordering.
|
<T> NSArray<T> |
sorted(NSArray<T> array)
Returns an array sorted with this sort ordering.
|
ERXSortOrdering.ERXSortOrderings |
then(EOSortOrdering nextSortOrdering)
Adds the given sort ordering to the end of this list and
returns "this" so it can be chained again.
|
ERXSortOrdering.ERXSortOrderings |
then(ERXSortOrdering.ERXSortOrderings nextSortOrderings)
Adds the given sort orderings to the end of this list and returns
"this" so it can be chained again.
|
_ensureCapacity, _initializeWithCapacity, _moveObjectAtIndexToIndex, _setCount, add, add, addAll, addAll, addObject, addObjects, addObjectsFromArray, clear, clone, count, ensureCapacity, immutableClone, insertObjectAtIndex, iterator, listIterator, listIterator, mutableClone, objectsNoCopy, remove, remove, removeAll, removeAllObjects, removeIdenticalObject, removeIdenticalObject, removeLastObject, removeObject, removeObject, removeObjectAtIndex, removeObjects, removeObjectsInArray, removeObjectsInRange, removeRange, replaceObjectAtIndex, replaceObjectAtIndex, replaceObjectsInRange, retainAll, set, setArray, sortUsingComparator, subList, toArray, trimToSize
_mustRecomputeHash, _mutableComponentsSeparatedByString, _objects, _setMustRecomputeHash, _setObjects, _shallowHashCode, arrayByAddingObject, arrayByAddingObjectsFromArray, arrayList, classForCoder, componentsJoinedByString, componentsSeparatedByString, contains, containsAll, containsObject, decodeObject, emptyArray, encodeWithCoder, equals, firstObjectCommonWithArray, get, getObjects, getObjects, hashCode, indexOf, indexOfIdenticalObject, indexOfIdenticalObject, indexOfObject, indexOfObject, isEmpty, isEqualToArray, lastIndexOf, lastObject, makeObjectsPerformSelector, objectAtIndex, objectEnumerator, objects, objects, of, of, of, operatorForKey, operatorNames, removeOperatorForKey, reverseObjectEnumerator, setOperatorForKey, size, sortedArrayUsingComparator, sortedArrayUsingSelector, subarrayWithRange, takeValueForKey, takeValueForKeyPath, toArray, toString, valueForKey, valueForKey, valueForKey, valueForKeyPath, valueForKeyPath, vector
finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public ERXSortOrderings()
public ERXSortOrderings(EOSortOrdering sortOrdering)
sortOrdering
- the sort ordering to addpublic ERXSortOrderings(EOSortOrdering... sortOrderings)
sortOrderings
- the sort orderings to addpublic ERXSortOrderings(NSArray<EOSortOrdering> sortOrderings)
sortOrderings
- the sort orderings to addpublic ERXSortOrdering.ERXSortOrderings then(EOSortOrdering nextSortOrdering)
nextSortOrdering
- the sort ordering to addpublic ERXSortOrdering.ERXSortOrderings then(ERXSortOrdering.ERXSortOrderings nextSortOrderings)
nextSortOrderings
- the sort ordering to addpublic <T> NSArray<T> sorted(NSArray<T> array)
T
- the type of the arrayarray
- the array to sortpublic <T> void sort(NSMutableArray<T> array)
T
- the type of the arrayarray
- the array to sortCopyright © 2002 – 2024 Project Wonder.