public class NumberValue extends Number implements Value
Constructor and Description |
---|
NumberValue() |
NumberValue(boolean chop,
Type type,
int startIndex,
int endIndex,
char[] buffer) |
NumberValue(Type type) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
boolean |
booleanValue() |
byte |
byteValue() |
char |
charValue() |
void |
chop() |
Date |
dateValue() |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isContainer() |
long |
longValue() |
short |
shortValue() |
String |
stringValue() |
String |
stringValueEncoded() |
<T extends Enum> |
toEnum(Class<T> cls) |
static <T extends Enum> |
toEnum(Class<T> cls,
int value) |
String |
toString() |
Object |
toValue() |
public NumberValue(Type type)
public NumberValue()
public NumberValue(boolean chop, Type type, int startIndex, int endIndex, char[] buffer)
public boolean isContainer()
isContainer
in interface Value
public BigDecimal bigDecimalValue()
bigDecimalValue
in interface Value
public BigInteger bigIntegerValue()
bigIntegerValue
in interface Value
public String stringValue()
stringValue
in interface Value
public String stringValueEncoded()
stringValueEncoded
in interface Value
public int intValue()
public long longValue()
public byte byteValue()
public short shortValue()
shortValue
in interface Value
shortValue
in class Number
public double doubleValue()
doubleValue
in interface Value
doubleValue
in class Number
public boolean booleanValue()
booleanValue
in interface Value
public float floatValue()
floatValue
in interface Value
floatValue
in class Number