public class NumberValue extends Number implements Value
| Constructor and Description |
|---|
NumberValue() |
NumberValue(boolean chop,
TypeType type,
int startIndex,
int endIndex,
char[] buffer) |
NumberValue(TypeType type) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
boolean |
booleanValue() |
byte |
byteValue() |
char |
charValue() |
void |
chop() |
Currency |
currencyValue() |
Date |
dateValue() |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
boolean |
isContainer() |
long |
longValue() |
short |
shortValue() |
String |
stringValue() |
String |
stringValue(CharBuf charBuf) |
String |
stringValueEncoded() |
<T extends Enum> |
toEnum(Class<T> cls) |
String |
toString() |
Object |
toValue() |
TypeType |
type() |
public NumberValue(TypeType type)
public NumberValue()
public NumberValue(boolean chop,
TypeType 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 stringValue(CharBuf charBuf)
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 Numberpublic Currency currencyValue()
currencyValue in interface ValueCopyright © 2015. All Rights Reserved.