Module com.iamsoft.util.ui
Class StdDevBinding<T>
- java.lang.Object
-
- javafx.beans.binding.ObjectExpression<T>
-
- javafx.beans.binding.ObjectBinding<T>
-
- com.iamsoft.util.ui.javafx.collections.reduction.StdDevBinding<T>
-
- Type Parameters:
T
- Type of element in list.
- All Implemented Interfaces:
javafx.beans.binding.Binding<T>
,javafx.beans.Observable
,javafx.beans.value.ObservableObjectValue<T>
,javafx.beans.value.ObservableValue<T>
public class StdDevBinding<T> extends javafx.beans.binding.ObjectBinding<T>
Returns standard deviation of a list. Standard deviation is equal to square root of variance.- See Also:
- Standard deviation
-
-
Constructor Summary
Constructors Constructor Description StdDevBinding(javafx.collections.ObservableList<? extends T> pList, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction)
StdDevBinding(javafx.collections.ObservableList<? extends T> pList, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction, boolean pBesselCorrect)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
computeValue()
static <T> T
computeValue(Collection<? extends T> pCollection, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction)
static <T> T
computeValue(Collection<? extends T> pCollection, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction, boolean pBesselCorrect)
-
Methods inherited from class javafx.beans.binding.ObjectBinding
addListener, addListener, bind, dispose, get, getDependencies, invalidate, isValid, onInvalidating, removeListener, removeListener, toString, unbind
-
Methods inherited from class javafx.beans.binding.ObjectExpression
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
-
-
-
-
Constructor Detail
-
StdDevBinding
public StdDevBinding(javafx.collections.ObservableList<? extends T> pList, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction)
-
StdDevBinding
public StdDevBinding(javafx.collections.ObservableList<? extends T> pList, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction, boolean pBesselCorrect)
-
-
Method Detail
-
computeValue
protected T computeValue()
- Specified by:
computeValue
in classjavafx.beans.binding.ObjectBinding<T>
-
computeValue
public static <T> T computeValue(Collection<? extends T> pCollection, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction)
-
computeValue
public static <T> T computeValue(Collection<? extends T> pCollection, BinaryOperator<T> pAddFunction, UnaryOperator<T> pNegateFunction, BiFunction<T,Integer,T> pDivideFunction, UnaryOperator<T> pSquareFunction, UnaryOperator<T> pSquareRootFunction, boolean pBesselCorrect)
-
-