Withdrawn: 8305925: Add concatenated list view

duke duke at openjdk.org
Thu Aug 24 17:42:34 UTC 2023


On Wed, 12 Apr 2023 07:24:08 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> The JavaFX collections framework offers the `FXCollections.concat(ObservableList...)` method, which creates a new modifiable list that contains a concatenated snapshot of the source lists, backed by an `ArrayList`. However, when the source lists are changed, the concatenated list is not updated.
> 
> This PR adds `FXCollections.concatenatedObservableList(ObservableList...)`, which creates an _unmodifiable collection view_ onto the source lists that represents the concatenation of all source elements. When any of the source lists are changed, the change is also reflected in the concatenated view.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jfx/pull/1087


More information about the openjfx-dev mailing list