public class ParseUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ParseUtils.DoubleArrayConverter |
static class |
ParseUtils.FloatArrayConverter |
static class |
ParseUtils.IntArrayConverter |
static class |
ParseUtils.LongArrayConverter |
Constructor and Description |
---|
ParseUtils() |
Modifier and Type | Method and Description |
---|---|
static double[] |
parseDoubleArray(String in)
Parses a string of the form "#,#,#,...#" and returns a double array
|
static double[] |
parseDoubleArray(String in,
String delimiter)
Parses a string of the form "#,#,#,...#" and returns a double array,
with a specified delimiter.
|
static float[] |
parseFloatArray(String in)
Parses a string of the form "#,#,#,...#" and returns a float array
|
static float[] |
parseFloatArray(String in,
String delimiter)
Parses a string of the form "#,#,#,...#" and returns a double array,
with a specified delimiter.
|
static int[] |
parseIntArray(String in)
Parses a string of the form "#,#,#,...#" and returns a int array
|
static int[] |
parseIntArray(String in,
String delimiter)
Parses a string of the form "#,#,#,...#" and returns an int array
|
static long[] |
parseLongArray(String in)
Parses a string of the form "#,#,#,...#" and returns a long array
|
static long[] |
parseLongArray(String in,
String delimiter)
Parses a string of the form "#,#,#,...#" and returns a long array
|
public static double[] parseDoubleArray(String in, String delimiter)
in
- the stringdelimiter
- the delimiterpublic static double[] parseDoubleArray(String in)
in
- the stringpublic static float[] parseFloatArray(String in, String delimiter)
in
- the stringdelimiter
- the delimiterpublic static float[] parseFloatArray(String in)
in
- the stringpublic static int[] parseIntArray(String in, String delimiter)
in
- the stringdelimiter
- the delimiterpublic static int[] parseIntArray(String in)
in
- the stringpublic static long[] parseLongArray(String in, String delimiter)
in
- the stringdelimiter
- the delimiterpublic static long[] parseLongArray(String in)
in
- the stringCopyright © 2015–2021 Fiji. All rights reserved.