- java.lang.Object
-
- com.iamsoft.util.ui.javafx.conflation.ConflationUtil
-
public final class ConflationUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <I,O>
voidapplyChange(List<O> pList, javafx.collections.ListChangeListener.Change<I> pChange, Function<I,O> pTransform)
Identify list change yielded by adding a new point.static <T> void
applyChange(List<T> pList, javafx.collections.ListChangeListener.Change<T> pChange)
static <Y> javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<Long,Y>>
conflate(javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<Long,Y>> pList)
static <Y> javafx.scene.chart.XYChart.Series<Long,Y>
conflate(javafx.scene.chart.XYChart.Series<Long,Y> pSeries)
-
-
-
Method Detail
-
applyChange
public static <T> void applyChange(List<T> pList, javafx.collections.ListChangeListener.Change<T> pChange)
-
applyChange
public static <I,O> void applyChange(List<O> pList, javafx.collections.ListChangeListener.Change<I> pChange, Function<I,O> pTransform)
Identify list change yielded by adding a new point. If no conflation is performed, this would just be an 'Add' event at end of list.
-
conflate
public static <Y> javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<Long,Y>> conflate(javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<Long,Y>> pList)
-
-