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 Valuepublic BigDecimal bigDecimalValue()
bigDecimalValue in interface Valuepublic BigInteger bigIntegerValue()
bigIntegerValue in interface Valuepublic String stringValue()
stringValue in interface Valuepublic String stringValueEncoded()
stringValueEncoded in interface Valuepublic int intValue()
public long longValue()
public byte byteValue()
public short shortValue()
shortValue in interface ValueshortValue in class Numberpublic double doubleValue()
doubleValue in interface ValuedoubleValue in class Numberpublic boolean booleanValue()
booleanValue in interface Valuepublic float floatValue()
floatValue in interface ValuefloatValue in class Number