ERXSortOrdering.ERXSortOrderings Class Reference

Inherits com::webobjects::foundation::NSMutableArray<EOSortOrdering>.

Collaboration diagram for ERXSortOrdering.ERXSortOrderings:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXSortOrderings (NSArray< EOSortOrdering > sortOrderings)
 ERXSortOrderings (EOSortOrdering...sortOrderings)
 ERXSortOrderings (EOSortOrdering sortOrdering)
 ERXSortOrderings ()
ERXSortOrderings then (EOSortOrdering nextSortOrdering)

Package Functions

public< T > void sort (NSMutableArray< T > array)
public< T > NSArray< T > sorted (NSArray< T > array)


Detailed Description

ERXSortOrderings is an NSMutableArray<EOSortOrdering> that provides methods for chaining.

Author:
mschrag

Constructor & Destructor Documentation

Constructs an empty ERXSortOrderings.

ERXSortOrderings ( EOSortOrdering  sortOrdering  ) 

Constructs an ERXSortOrderings with one sort order.

Parameters:
sortOrdering the sort ordering to add

ERXSortOrderings ( EOSortOrdering...  sortOrderings  ) 

Constructs an ERXSortOrderings with the list of sort orders.

Parameters:
sortOrderings the sort orderings to add

ERXSortOrderings ( NSArray< EOSortOrdering >  sortOrderings  ) 

Constructs an ERXSortOrderings with the array of sort orders.

Parameters:
sortOrderings the sort orderings to add


Member Function Documentation

public<T> void sort ( NSMutableArray< T >  array  )  [package]

Sorts the given array with this sort ordering.

Parameters:
<T> the type of the array
array the array to sort

public<T> NSArray<T> sorted ( NSArray< T >  array  )  [package]

Returns an array sorted with this sort ordering.

Parameters:
<T> the type of the array
array the array to sort
Returns:
a sorted copy of the array

ERXSortOrderings then ( EOSortOrdering  nextSortOrdering  ) 

Adds the given sort ordering to the end of this list and returns "this" so it can be chained again.

Parameters:
nextSortOrdering the sort ordering to add
Returns:
this (with the sort ordering appended)


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:11 2012 for Project Wonder by  doxygen 1.5.8