Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8305925

Add concatenated list view

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      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.

      A new method adds this missing capability: `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.

            mstrauss Michael Strauß
            mstrauss Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: