ObservableList<ObservableList<T>> to a transformed output U.
This class takes a nested list and applies a transformation function to a flattened version of that list,
producing a result of type U. This is useful for performing complex transformations on nested data
structures in a declarative way.
| Modifier and Type | Field and Description |
|---|---|
| private final Function |
| Access | Constructor and Description |
|---|---|
| public | TransformedFlattenedNestedListStreamBinding(ObservableList<ObservableList<T>>
the observable list of observable lists that serves as the source for this binding source, Function<Stream<T>, U> a function that takes a flattened stream of elements of type transformer)T and returns
a transformed value of type UConstructs a new TransformedNestedListBinding with the specified source of nested observable lists and a transformation function. |
| Modifier and Type | Method and Description |
|---|---|
| protected U | Returns: the transformed value of typeU, as derived from the flattened nested listsImplements abstract javafx. Computes the transformed value by applying the transformation function to the flattened source stream. |
| transformer | back to summary |
|---|---|
| private final Function<Stream<T>, U> transformer | |
| TransformedFlattenedNestedListStreamBinding | back to summary |
|---|---|
| public TransformedFlattenedNestedListStreamBinding(ObservableList<ObservableList<T>> source, Function<Stream<T>, U> transformer) Constructs a new TransformedNestedListBinding with the specified source of nested observable lists
and a transformation function. The function will be applied to a flattened stream of the nested lists,
allowing for the transformation of nested list elements into a single output value of type
| |
| computeValue | back to summary |
|---|---|
| protected U computeValue() Implements abstract javafx. Computes the transformed value by applying the transformation function to the flattened source stream.
| |