final class BigIntegerModelValue extends ModelValue
| Modifier and Type | Field and Description |
|---|---|
private java.math.BigInteger |
value |
UNDEFINED| Constructor and Description |
|---|
BigIntegerModelValue(java.math.BigInteger value) |
BigIntegerModelValue(java.io.DataInput in) |
| 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) 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(BigIntegerModelValue other)
Determine whether this object is equal to another.
|
boolean |
equals(java.lang.Object other)
Determine whether this object is equal to another.
|
(package private) void |
format(java.io.PrintWriter writer,
int indent,
boolean ignored)
Formats the current value object as part of a DMR string.
|
int |
hashCode() |
(package private) void |
writeExternal(java.io.DataOutput out) |
addChild, asBytes, asList, asObject, asProperty, asPropertyList, asType, clone, copy, formatAsJSON, getChild, getChild, getKeys, getType, has, has, indent, insertChild, jsonEscape, protect, quote, removeChild, removeChild, requireChild, requireChild, resolve, toJSONString, toString, writeJSONString, writeStringBigIntegerModelValue(java.math.BigInteger value)
BigIntegerModelValue(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionvoid 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 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 ModelValuevoid format(java.io.PrintWriter writer,
int indent,
boolean ignored)
ModelValueformat in class ModelValuewriter - A PrintWriter instance containing the generated DMR string representation.indent - The number of tabs to indent the current generated string.ignored - Flag indicating whether or not the string should begin on a new line.public boolean equals(java.lang.Object other)
equals in class ModelValueother - the other objecttrue if they are equal, false otherwisepublic boolean equals(BigIntegerModelValue other)
other - the other objecttrue if they are equal, false otherwisepublic int hashCode()
hashCode in class ModelValue