public class CollectionUtils
extends java.lang.Object
CollectionUtils contains a method to compute the old value of an
ObservableList for a given
ListChangeListener.Change event. For details, see
getPreviousContents(javafx.collections.ListChangeListener.Change).| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <E> java.util.List<E> |
getPreviousContents(javafx.collections.ListChangeListener.Change<E> change)
Computes the previous contents of the source
ObservableList
before the given ListChangeListener.Change was
applied. |
public static <E> java.util.List<E> getPreviousContents(javafx.collections.ListChangeListener.Change<E> change)
ObservableList
before the given ListChangeListener.Change was
applied.E - The element type of the ObservableList.change - The ListChangeListener.Change for
which to compute the previous contents.List that resembles the state of the
source ObservableList before the change.Copyright (c) 2014 itemis AG and others. All rights reserved.