Class Value.ArrayValue
Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.
java.lang.Object
dev.gecode.iris.Value.ArrayValue
- All Implemented Interfaces:
Value
- Enclosing interface:
Value
-
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.ArrayValue, Value.FloatValue, Value.IntValue, Value.StringValueModifier and TypeInterfaceDescriptionstatic final classAn array, or a row of a larger array, whose elements stay in place until they are asked for.static final recordA single float.static final recordA single integer.static final recordA single string. -
Method Summary
Modifier and TypeMethodDescriptionintdepth()Returns the depth: 0 for a single value, and otherwise the levels of nesting.double[]doubles()Returns a copy of the numbers of this one-dimensional array, integers as floats.booleanget(int index) Gets an element of this array.inthashCode()long[]longs()Returns a copy of the integers of this one-dimensional array.intsize()Returns the number of elements of this array.strings()Returns the strings of this one-dimensional array, as an unmodifiable list.toString()Returns the array in canonical JSON.type()Returns the type of the leaves.Methods inherited from interface Value
asDouble, asLong, asString, at, intsModifier and TypeMethodDescriptiondefault doubleasDouble()Returns this single number, as a float if it is an integer.default longasLong()Returns this single integer.default StringasString()Returns this single string.default Valueat(int... path) Follows indices into this value.default int[]ints()Narrows the integers of this one-dimensional array.
-
Method Details
-
type
-
depth
-
size
-
get
-
longs
-
doubles
-
strings
-
equals
-
hashCode
-
toString
-