public final class Value extends Object implements ExpressionItem
ValueType
Modifier and Type | Field and Description |
---|---|
static Value |
BOOLEAN_FALSE |
static Value |
BOOLEAN_TRUE |
static Value |
INT_FIVE |
static Value |
INT_FOUR |
static Value |
INT_ONE |
static Value |
INT_THREE |
static Value |
INT_TWO |
static Value |
INT_ZERO |
Modifier and Type | Method and Description |
---|---|
Boolean |
asBoolean() |
Float |
asFloat() |
Long |
asLong() |
String |
asString() |
boolean |
equals(Object var) |
ExpressionItemPriority |
getExpressionItemPriority()
Get the priority of the item
|
ExpressionItemType |
getExpressionItemType()
Get the type of the item
|
ValueType |
getType() |
Object |
getValue() |
static Object |
getValue(String value,
ValueType type) |
int |
hashCode() |
static Value |
recognizeOf(String str) |
static Value |
recognizeRawString(String str) |
static ValueType |
recognizeType(String value) |
String |
toString() |
String |
toStringDetail() |
static Value |
valueOf(Boolean val) |
static Value |
valueOf(Float val) |
static Value |
valueOf(Long val) |
static Value |
valueOf(String val) |
public static final Value BOOLEAN_TRUE
public static final Value BOOLEAN_FALSE
public static final Value INT_ZERO
public static final Value INT_ONE
public static final Value INT_TWO
public static final Value INT_THREE
public static final Value INT_FOUR
public static final Value INT_FIVE
public ValueType getType()
public Object getValue()
public Long asLong()
public Float asFloat()
public String asString()
public Boolean asBoolean()
public String toStringDetail()
public ExpressionItemType getExpressionItemType()
ExpressionItem
getExpressionItemType
in interface ExpressionItem
public ExpressionItemPriority getExpressionItemPriority()
ExpressionItem
getExpressionItemPriority
in interface ExpressionItem
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.