Top Fields Constructors Methods
org.reactfx.collection

pack-priv Class ListRangeReduction<T>

Located in compilation unit of org.reactfx.collection.ListReduction.

extends ListReduction<T>
Class Inheritance
Annotations
@Experimental

Field Summary

Modifier and TypeField and Description
private final ObservableValue<IndexRange>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected Subscription
connect()

Overrides org.reactfx.collection.ListReduction.connect.

Implementation of this method should start observing inputs.

protected int
protected int
Inherited from org.reactfx.collection.ListReduction:
computeValue

Field Detail

rangeback to summary
private final ObservableValue<IndexRange> range

Constructor Detail

ListRangeReductionback to summary
pack-priv ListRangeReduction(ObservableList<T> input, ObservableValue<IndexRange> range, BinaryOperator<T> reduction)

Method Detail

connectback to summary
protected Subscription connect()

Overrides org.reactfx.collection.ListReduction.connect.

Doc from org.reactfx.value.ValBase.connect.

Implementation of this method should start observing inputs. If the value of this Val may change as a result of input change, the corresponding input observer should call invalidate() to notify observers of this Val. By the time of calling invalidate(), the input observer must have already updated any internal state of this Val, so that a subsequent call to computeValue() returns the current value of this Val.

Annotations
@Override
getFromback to summary
protected int getFrom(int max)

Overrides org.reactfx.collection.ListReduction.getFrom.

Annotations
@Override
getToback to summary
protected int getTo(int max)

Overrides org.reactfx.collection.ListReduction.getTo.

Annotations
@Override