|
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.StandardDeviationOperator
public static class ERXArrayUtilities.StandardDeviationOperator
Define an NSArray.Operator
for the key stdDev and popStdDev.
This allows for key value paths like:
myArray.valueForKey("@stdDev.payment.amount");
myArray.valueForKey("payment.@stdDev.amount");
myArray.valueForKey("payment.amount.@stdDev");
valueForKeyPath
on
the array to its left, but instead loops through the values of the array
to its left, calling
valueForKeyPath
on the individual array values instead. This behavior is consistent with
Apple's standard NSArray operators.
Constructor Summary | |
---|---|
ERXArrayUtilities.StandardDeviationOperator(boolean isPopulation)
|
Method Summary | |
---|---|
java.lang.Object |
compute(com.webobjects.foundation.NSArray<?> array,
java.lang.String keypath)
returns the standard deviation value for the values of the keypath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERXArrayUtilities.StandardDeviationOperator(boolean isPopulation)
Method Detail |
---|
public java.lang.Object compute(com.webobjects.foundation.NSArray<?> array, java.lang.String keypath)
compute
in interface com.webobjects.foundation.NSArray.Operator
array
- array to be checked.keypath
- path to numeric values
|
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 |