|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.hisee.core.Utils
Utils contains static utility classes.
Constructor Summary | |
Utils()
|
Method Summary | |
static java.lang.String |
doubleArrayToString(double[] data)
Utility to class to convert arrays of doubles to strings. |
static java.lang.String |
round(double num,
int precision)
|
static double[] |
stringArrayToDoubleArray(java.lang.String[] line)
Converts an array of strings containing doubles into an array of values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Utils()
Method Detail |
public static double[] stringArrayToDoubleArray(java.lang.String[] line)
line
- the array of strings
public static java.lang.String doubleArrayToString(double[] data)
data
- array of doubles
public static java.lang.String round(double num, int precision)
num
- double to convertprecision
- number of decimal places
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |