|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.extensions.foundation.ERXArrayUtilities.ObjectAtIndexOperator
public static class ERXArrayUtilities.ObjectAtIndexOperator
Define an NSArray.Operator for the key objectAtIndex.
This allows for key value paths like:
myArray.valueForKey("@objectAtIndex.3.firstName");
| Constructor Summary | |
|---|---|
ERXArrayUtilities.ObjectAtIndexOperator()
public empty constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
compute(com.webobjects.foundation.NSArray<?> array,
java.lang.String keypath)
returns the keypath value for n-ths object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERXArrayUtilities.ObjectAtIndexOperator()
| Method Detail |
|---|
public java.lang.Object compute(com.webobjects.foundation.NSArray<?> array,
java.lang.String keypath)
compute in interface com.webobjects.foundation.NSArray.Operatorarray - array to be checked.keypath - integer value of index (zero based).
null if array is empty or value is not in index, keypath value for the object at index otherwise.
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||