RFR: 8274771: Map, FlatMap and OrElse fluent bindings for ObservableValue [v15]
John Hendrikx
jhendrikx at openjdk.org
Wed Jun 29 00:19:59 UTC 2022
On Tue, 28 Jun 2022 20:57:18 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> I think that the `Bindings.select` documentation should be updated to point users to `ObservableValue.flatMap`.
Any suggestions what I should add?
I can add a `@see` tag, and/or I could add a note in the description, something along the line of "Note: since 19, ObservableValue#flatMap directly supports creating new bindings for JavaFX properties."
Note that `Bindings.select` also allows for JavaBeans properties, which are not supported by `flatMap`.
-------------
PR: https://git.openjdk.org/jfx/pull/675
More information about the openjfx-dev
mailing list