Class DeepCopyUtils

java.lang.Object
comp3111.covid.DeepCopyUtils

class DeepCopyUtils
extends java.lang.Object
A singleton class that consist of deep copy methods.
  • Method Summary

    Modifier and Type Method Description
    static <S,​ T> javafx.scene.chart.XYChart.Series<S,​T> copySeries​(javafx.scene.chart.XYChart.Series<S,​T> series)
    Performs deep copying on a series of data.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • copySeries

      public static <S,​ T> javafx.scene.chart.XYChart.Series<S,​T> copySeries​(javafx.scene.chart.XYChart.Series<S,​T> series)
      Performs deep copying on a series of data.
      Type Parameters:
      S - type of X axis
      T - type of Y axis
      Parameters:
      series - series to copy
      Returns:
      deep copied series