T
- Item type.public class SumBinding<T>
extends javafx.beans.binding.ObjectBinding<T>
EasyBind.combine(ObservableList, Function)
,
ObservableSum
Constructor and Description |
---|
SumBinding(javafx.collections.ObservableList<? extends T> pList,
T pIdentity,
BinaryOperator<T> pAddFunction)
Fully recalculate after each change.
|
Modifier and Type | Method and Description |
---|---|
protected T |
computeValue() |
static <T> T |
computeValue(Iterable<? extends T> pIterable,
T pIdentity,
BinaryOperator<T> pAddFunction) |
static <T> T |
computeValue(Iterator<? extends T> pIterator,
T pIdentity,
BinaryOperator<T> pAddFunction) |
addListener, addListener, bind, dispose, get, getDependencies, invalidate, isValid, onInvalidating, removeListener, removeListener, toString, unbind
asString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
public SumBinding(javafx.collections.ObservableList<? extends T> pList, T pIdentity, BinaryOperator<T> pAddFunction)
protected T computeValue()
computeValue
in class javafx.beans.binding.ObjectBinding<T>
public static <T> T computeValue(Iterable<? extends T> pIterable, T pIdentity, BinaryOperator<T> pAddFunction)
public static <T> T computeValue(Iterator<? extends T> pIterator, T pIdentity, BinaryOperator<T> pAddFunction)
Copyright © 2023. All rights reserved.