final class IntModelValue extends ModelValue
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
UNDEFINED| Constructor and Description |
|---|
IntModelValue(int value) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.math.BigDecimal |
asBigDecimal() |
(package private) java.math.BigInteger |
asBigInteger() |
(package private) boolean |
asBoolean() |
(package private) boolean |
asBoolean(boolean defVal) |
(package private) byte[] |
asBytes() |
(package private) double |
asDouble() |
(package private) double |
asDouble(double defVal) |
(package private) ValueExpression |
asExpression() |
(package private) int |
asInt() |
(package private) int |
asInt(int defVal) |
(package private) long |
asLong() |
(package private) long |
asLong(long defVal) |
(package private) java.lang.String |
asString() |
boolean |
equals(IntModelValue other)
Determine whether this object is equal to another.
|
boolean |
equals(java.lang.Object other)
Determine whether this object is equal to another.
|
int |
hashCode() |
(package private) void |
writeExternal(java.io.DataOutput out) |
addChild, asList, asObject, asProperty, asPropertyList, asType, clone, copy, format, formatAsJSON, getChild, getChild, getKeys, getType, has, has, indent, insertChild, jsonEscape, protect, quote, removeChild, removeChild, requireChild, requireChild, resolve, toJSONString, toString, writeJSONString, writeStringvoid writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in class ModelValuejava.io.IOExceptionlong asLong()
asLong in class ModelValuelong asLong(long defVal)
asLong in class ModelValueint asInt()
asInt in class ModelValueint asInt(int defVal)
asInt in class ModelValueboolean asBoolean()
asBoolean in class ModelValueboolean asBoolean(boolean defVal)
asBoolean in class ModelValuedouble asDouble()
asDouble in class ModelValuedouble asDouble(double defVal)
asDouble in class ModelValuebyte[] asBytes()
asBytes in class ModelValuejava.math.BigDecimal asBigDecimal()
asBigDecimal in class ModelValuejava.math.BigInteger asBigInteger()
asBigInteger in class ModelValuejava.lang.String asString()
asString in class ModelValueValueExpression asExpression()
asExpression in class ModelValuepublic boolean equals(java.lang.Object other)
equals in class ModelValueother - the other objecttrue if they are equal, false otherwisepublic boolean equals(IntModelValue other)
other - the other objecttrue if they are equal, false otherwisepublic int hashCode()
hashCode in class ModelValue