Class StringConverter


  • public class StringConverter
    extends Object
    Author:
    Kiran Keshav, Paul Pavlidis
    • Constructor Detail

      • StringConverter

        public StringConverter()
    • Method Detail

      • doubleArrayToString

        public String doubleArrayToString​(double[] arrayToConvert)
        Convert a double array to a delimited string.
        Parameters:
        arrayToConvert -
        Returns:
      • setDelimiter

        public void setDelimiter​(String delimiter)
      • stringArrayToDoubles

        public double[] stringArrayToDoubles​(String[] sArray)
        Parameters:
        sArray -
        Returns:
        double[]
      • stringToDoubles

        public double[] stringToDoubles​(String stringToParse)
        Parameters:
        stringToParse -
        Returns:
        double[]