ERXArrayUtilities.ObjectAtIndexOperator Class Reference

List of all members.

Public Member Functions

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


Detailed Description

Define an NSArray.Operator for the key objectAtIndex.

This allows for key value paths like:

myArray.valueForKey("@objectAtIndex.3.firstName");


Constructor & Destructor Documentation

public empty constructor


Member Function Documentation

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

returns the keypath value for n-ths object.

Parameters:
array array to be checked.
keypath integer value of index (zero based).
Returns:
null if array is empty or value is not in index, keypath value for the object at index otherwise.


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