Class ReductionBinding<I,O>

java.lang.Object
javafx.beans.binding.ObjectExpression<T>
javafx.beans.binding.ObjectBinding<O>
com.iamsoft.util.ui.javafx.collections.reduction.ReductionBinding<I,O>
Type Parameters:
I - Type of element in list.
O - Type of result.
All Implemented Interfaces:
javafx.beans.binding.Binding<O>, javafx.beans.Observable, javafx.beans.value.ObservableObjectValue<O>, javafx.beans.value.ObservableValue<O>

public class ReductionBinding<I,O> extends javafx.beans.binding.ObjectBinding<O>
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReductionBinding(javafx.collections.ObservableList<? extends I> pList, O pIdentity, BiFunction<O,? super I,O> pAccumulator, BinaryOperator<O> pCombiner)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected O
     

    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

    • ReductionBinding

      public ReductionBinding(javafx.collections.ObservableList<? extends I> pList, O pIdentity, BiFunction<O,? super I,O> pAccumulator, BinaryOperator<O> pCombiner)
  • Method Details

    • computeValue

      protected O computeValue()
      Specified by:
      computeValue in class javafx.beans.binding.ObjectBinding<O>