javanpst.data.readers.sequenceReaders
Class NumericSequenceCSVReader
- java.lang.Object
-
- javanpst.data.readers.sequenceReaders.NumericSequenceCSVReader
-
public class NumericSequenceCSVReader extends java.lang.ObjectA CSV reader for numerical sequences. Store data inside a string array.
-
-
Constructor Summary
Constructors Constructor and Description NumericSequenceCSVReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidappend(java.lang.String text)Adds a new element to the sequence.static voidclear()Clears the arraystatic java.util.ArrayList<java.lang.Double>getSequence()Get a copy of the inner sequence as outputstatic voidreadCSVSequence(java.lang.String file)Read a numeric sequence from a CSV file
-
-
-
Method Detail
-
getSequence
public static java.util.ArrayList<java.lang.Double> getSequence()
Get a copy of the inner sequence as output- Returns:
- a copy of the inner sequence
-
clear
public static void clear()
Clears the array
-
append
public static void append(java.lang.String text)
Adds a new element to the sequence. The element must be a numerical value- Parameters:
text- element to add
-
readCSVSequence
public static void readCSVSequence(java.lang.String file)
Read a numeric sequence from a CSV file- Parameters:
file- path of the file
-
-
DMelt 3.0 © DataMelt by jWork.ORG