com.cassinidivision.core.eocontrol
Class EOSortOrdering_Helper

java.lang.Object
  extended bycom.cassinidivision.core.eocontrol.EOSortOrdering_Helper

public class EOSortOrdering_Helper
extends Object

EOSortOrdering-related utility methods.


Constructor Summary
EOSortOrdering_Helper()
           
 
Method Summary
static NSArray sortedArrayWithKey(NSArray array, String key)
          Retrieve an array of objects sorted in ascending order according to the attribute provided.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOSortOrdering_Helper

public EOSortOrdering_Helper()
Method Detail

sortedArrayWithKey

public static NSArray sortedArrayWithKey(NSArray array,
                                         String key)
Retrieve an array of objects sorted in ascending order according to the attribute provided.

Parameters:
array - An array of EO instances.
key - The name of an attribute common to all EO instances.
Returns:
The sorted EO instances.
See Also:
EOSortOrdering.sortedArrayUsingKeyOrderArray(NSArray, NSArray)