Class ConflationUtil

java.lang.Object
com.iamsoft.util.ui.javafx.conflation.ConflationUtil

public final class ConflationUtil extends Object
  • Method Details

    • 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.
      See Also:
    • 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)
    • conflate

      public static <Y> javafx.scene.chart.XYChart.Series<Long,Y> conflate(javafx.scene.chart.XYChart.Series<Long,Y> pSeries)