|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSciLib.Util.Util
public final class Util
This class contains some methods to read and write a text file.
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static java.text.DecimalFormat |
format(int n)
Construct a DecimalFormat with n decimal digits |
static byte[] |
generateByteVector(java.lang.String tmp)
store data from a string in an integer array |
static double[][] |
generateComplexVector(java.lang.String tmp)
store data from a string in an double nx2 array of type complex |
static int[] |
generateIntegerVector(java.lang.String tmp)
store data from a string in an integer array |
static double[] |
generateVector(java.lang.String tmp)
store data from a string in an array of type double |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static final java.text.DecimalFormat format(int n)
n - the number of decimal digitspublic static final int[] generateIntegerVector(java.lang.String tmp)
tmp - A Data String
public static final double[] generateVector(java.lang.String tmp)
tmp - A Data String
public static final double[][] generateComplexVector(java.lang.String tmp)
tmp - A Data String
public static final byte[] generateByteVector(java.lang.String tmp)
tmp - A Data String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||