ERXArrayUtilities.ReverseOperator Class Reference

Inherits er::extensions::foundation::ERXArrayUtilities::BaseOperator.

Collaboration diagram for ERXArrayUtilities.ReverseOperator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Object compute (NSArray<?> array, String keypath)
 ReverseOperator ()


Detailed Description

Define an NSArray.Operator for the key reverse.

This allows for key value paths like:

myArray.valueForKey("@reverse.someOtherPath");

which would reverse the order of the array myArray before continuing to process someOtherPath.

See also:
BaseOperator

Constructor & Destructor Documentation

ReverseOperator (  ) 

public empty constructor


Member Function Documentation

Object compute ( NSArray<?>  array,
String  keypath 
)

returns the reverse value for the values of the keypath.

Parameters:
array array to be checked.
keypath additional keypath
Returns:
value produced following keypath after array is reversed


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

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