Package adams.data.binning.operation
Class Copy
- java.lang.Object
-
- adams.data.binning.operation.Copy
-
public class Copy extends Object
Creates copies of the data.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Copy.CopyType
How to copy.
-
Constructor Summary
Constructors Constructor Description Copy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> List<Bin<T>>
copyBins(List<Bin<T>> bins, Copy.CopyType type)
Generates a copy.static <T> List<Binnable<T>>
copyData(List<Binnable<T>> data, Copy.CopyType type)
Generates a copy.
-
-
-
Method Detail
-
copyData
public static <T> List<Binnable<T>> copyData(List<Binnable<T>> data, Copy.CopyType type)
Generates a copy.- Type Parameters:
T
- the payload type- Parameters:
data
- the list to copytype
- the type of copy to perform- Returns:
- the generated copy
-
copyBins
public static <T> List<Bin<T>> copyBins(List<Bin<T>> bins, Copy.CopyType type)
Generates a copy.- Type Parameters:
T
- the payload type- Parameters:
bins
- the bins to copytype
- the type of copy to perform- Returns:
- the generated copy
-
-