Package comp3111.covid
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.
-
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 axisT- type of Y axis- Parameters:
series- series to copy- Returns:
- deep copied series
-