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:
-
Constructor Summary
ConstructorsConstructorDescriptionStdDevBinding
(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
Modifier and TypeMethodDescriptionprotected T
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, allowValidation, bind, dispose, get, getDependencies, invalidate, isObserved, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javafx.beans.value.ObservableValue
flatMap, getValue, map, orElse, when
-
Constructor Details
-
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 Details
-
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)
-