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) |
<T extends ReflectionConstructable> |
asInstance(java.lang.Class<T> clazz) |
<P0,T extends ReflectionConstructable1<P0>> |
asInstance(java.lang.Class<T> clazz,
P0 p0) |
<P0,P1,T extends ReflectionConstructable2<P0,P1>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1) |
<P0,P1,P2,T extends ReflectionConstructable3<P0,P1,P2>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2) |
<P0,P1,P2,P3,T extends ReflectionConstructable4<P0,P1,P2,P3>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3) |
<P0,P1,P2,P3,P4,T extends ReflectionConstructable5<P0,P1,P2,P3,P4>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3,
P4 p4) |
<P0,P1,P2,P3,P4,P5,T extends ReflectionConstructable6<P0,P1,P2,P3,P4,P5>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5) |
<P0,P1,P2,P3,P4,P5,P6,T extends ReflectionConstructable7<P0,P1,P2,P3,P4,P5,P6>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5,
P6 p6) |
<P0,P1,P2,P3,P4,P5,P6,P7,T extends ReflectionConstructable8<P0,P1,P2,P3,P4,P5,P6,P7>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5,
P6 p6,
P7 p7) |
<P0,P1,P2,P3,P4,P5,P6,P7,P8,T extends ReflectionConstructable9<P0,P1,P2,P3,P4,P5,P6,P7,P8>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5,
P6 p6,
P7 p7,
P8 p8) |
<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,T extends ReflectionConstructable10<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9>> |
asInstance(java.lang.Class<T> clazz,
P0 p0,
P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5,
P6 p6,
P7 p7,
P8 p8,
P9 p9) |
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 <P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,T extends ReflectionConstructable10<P0,P1,P2,P3,P4,P5,P6,P7,P8,P9>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9)
asInstance
in class Value
public <P0,P1,P2,P3,P4,P5,P6,P7,P8,T extends ReflectionConstructable9<P0,P1,P2,P3,P4,P5,P6,P7,P8>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8)
asInstance
in class Value
public <P0,P1,P2,P3,P4,P5,P6,P7,T extends ReflectionConstructable8<P0,P1,P2,P3,P4,P5,P6,P7>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7)
asInstance
in class Value
public <P0,P1,P2,P3,P4,P5,P6,T extends ReflectionConstructable7<P0,P1,P2,P3,P4,P5,P6>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)
asInstance
in class Value
public <P0,P1,P2,P3,P4,P5,T extends ReflectionConstructable6<P0,P1,P2,P3,P4,P5>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
asInstance
in class Value
public <P0,P1,P2,P3,P4,T extends ReflectionConstructable5<P0,P1,P2,P3,P4>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3, P4 p4)
asInstance
in class Value
public <P0,P1,P2,P3,T extends ReflectionConstructable4<P0,P1,P2,P3>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2, P3 p3)
asInstance
in class Value
public <P0,P1,P2,T extends ReflectionConstructable3<P0,P1,P2>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1, P2 p2)
asInstance
in class Value
public <P0,P1,T extends ReflectionConstructable2<P0,P1>> T asInstance(java.lang.Class<T> clazz, P0 p0, P1 p1)
asInstance
in class Value
public <P0,T extends ReflectionConstructable1<P0>> T asInstance(java.lang.Class<T> clazz, P0 p0)
asInstance
in class Value
public <T extends ReflectionConstructable> T asInstance(java.lang.Class<T> clazz)
asInstance
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