public class Scalar extends Value
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
Constructor and Description |
---|
Scalar(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean() |
double |
asDouble() |
double[][] |
asDoubleMatrix() |
double[] |
asDoubleVector() |
<T extends java.lang.Enum<T>> |
asEnum(java.lang.Class<T> enumClass) |
int |
asInteger() |
int[][] |
asIntegerMatrix() |
int[] |
asIntegerVector() |
long |
asLong() |
long[][] |
asLongMatrix() |
long[] |
asLongVector() |
java.lang.String |
asString() |
java.lang.String[][] |
asStringMatrix() |
java.lang.String[] |
asStringVector() |
java.lang.String |
toString() |
fromString
public <T extends java.lang.Enum<T>> T asEnum(java.lang.Class<T> enumClass)
public java.lang.String[] asStringVector()
asStringVector
in class Value
public java.lang.String[][] asStringMatrix()
asStringMatrix
in class Value
public int[] asIntegerVector()
asIntegerVector
in class Value
public int[][] asIntegerMatrix()
asIntegerMatrix
in class Value
public double[] asDoubleVector()
asDoubleVector
in class Value
public double[][] asDoubleMatrix()
asDoubleMatrix
in class Value
public long[] asLongVector()
asLongVector
in class Value
public long[][] asLongMatrix()
asLongMatrix
in class Value
public java.lang.String toString()
toString
in class java.lang.Object