public class Value
extends java.lang.Object
Constructor | Description |
---|---|
Value(boolean b) |
Create a value from a boolean.
|
Value(double d) |
Create a value from a double.
|
Value(long l) |
Create a value from a long.
|
Value(java.lang.String str) |
Create a value from a string.
|
Value(java.util.ArrayList<Value> array) |
Create a value from an list.
|
Value(java.util.HashMap<java.lang.String,Value> map) |
Create a value from a map.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getContents() |
Get the contents of the value
|
java.lang.String |
toString() |
public Value(double d)
d
- double to wrappublic Value(long l)
l
- long to wrappublic Value(boolean b)
b
- boolean to wrappublic Value(@NonNull java.lang.String str)
str
- string to wrappublic Value(@NonNull java.util.ArrayList<Value> array)
array
- list to wrappublic Value(@NonNull java.util.HashMap<java.lang.String,Value> map)
map
- map to wrap