Class StandardDeviation
- java.lang.Object
-
- com.jayway.jsonpath.internal.function.numeric.AbstractAggregation
-
- com.jayway.jsonpath.internal.function.numeric.StandardDeviation
-
- All Implemented Interfaces:
PathFunction
public class StandardDeviation extends AbstractAggregation
Provides the standard deviation of a series of numbers Created by mattg on 6/27/15.
-
-
Constructor Summary
Constructors Constructor Description StandardDeviation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Number
getValue()
Obtains the value generated via the series of next value callsprotected void
next(java.lang.Number value)
Defines the next value in the array to the mathmatical function-
Methods inherited from class com.jayway.jsonpath.internal.function.numeric.AbstractAggregation
invoke
-
-
-
-
Method Detail
-
next
protected void next(java.lang.Number value)
Description copied from class:AbstractAggregation
Defines the next value in the array to the mathmatical function- Specified by:
next
in classAbstractAggregation
- Parameters:
value
- The numerical value to process next
-
getValue
protected java.lang.Number getValue()
Description copied from class:AbstractAggregation
Obtains the value generated via the series of next value calls- Specified by:
getValue
in classAbstractAggregation
- Returns:
- A numerical answer based on the input value provided
-
-