public class Array extends Value
Constructor and Description |
---|
Array(java.util.List<Value> values) |
Array(Value[] values) |
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() |
fromString
public final Value[] value
public Array(Value[] values)
public Array(java.util.List<Value> values)
public int[] asIntegerVector()
asIntegerVector
in class Value
public int[][] asIntegerMatrix()
asIntegerMatrix
in class Value
public java.lang.String[] asStringVector()
asStringVector
in class Value
public java.lang.String[][] asStringMatrix()
asStringMatrix
in class Value
public <T extends java.lang.Enum<T>> T asEnum(java.lang.Class<T> enumClass)
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