public class Value extends Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<Value,String> |
format |
static java.util.function.Function<Value,String> |
formatVar |
static java.util.function.Function<Value,String> |
identity |
static Value |
NULL |
static Value |
VOID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asBoolean() |
double |
asDouble() |
int |
asInteger() |
List<Object> |
asList() |
String |
asString() |
static Value |
concat(Value... values) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isBoolean() |
boolean |
isDouble() |
boolean |
isInteger() |
boolean |
isList() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isString() |
boolean |
isVoid() |
String |
toString() |
public static final Value NULL
public static final Value VOID
public static java.util.function.Function<Value,String> format
public static java.util.function.Function<Value,String> formatVar
public static java.util.function.Function<Value,String> identity
public Value(Object value)
public boolean isString()
public boolean isDouble()
public boolean isInteger()
public boolean isNumber()
public boolean isList()
public boolean isBoolean()
public boolean isNull()
public boolean isVoid()
public String asString()
public double asDouble()
public int asInteger()
public boolean asBoolean()
Copyright © 2016. All rights reserved.