getValue() for description of types.
It can be used to represent:
of(long), of(String), of(boolean), of(double).
of(KeyValue...) ,
of(Map). Note, because map values are type Value, maps can be nested
within other maps.
of(Value[]). Note, because array values
are type Value, arrays can contain primitives, complex types like maps or arrays,
or any combination.
of(byte[])
Currently, Value is only used as an argument for io..
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public ValueType | |
| public T | |
| public static Value | |
| public static Value | |
| public static Value | |
| public static Value | |
| public static Value | |
| public static Value | |
| public static Value | |
| public static Value | |
| public static Value |
| asString | back to summary |
|---|---|
| public String asString() Return a string encoding of this Warning No guarantees are made about the encoding of this string response. It MAY change in a future minor release. If you need a reliable string encoding, write your own serializer. | |
| getType | back to summary |
|---|---|
| public ValueType getType() Returns the type of this | |
| getValue | back to summary |
|---|---|
| public T getValue() Returns the value for this The return type varies by
| |
| of | back to summary |
|---|---|
| public static Value | |
| of | back to summary |
|---|---|
| public static Value Returns an | |
| of | back to summary |
|---|---|
| public static Value Returns an | |
| of | back to summary |
|---|---|
| public static Value Returns an | |
| of | back to summary |
|---|---|
| public static Value Returns an | |
| of | back to summary |
|---|---|
| public static Value | |
| of | back to summary |
|---|---|
| public static Value | |
| of | back to summary |
|---|---|
| public static Value Returns an | |
| of | back to summary |
|---|---|
| public static Value | |