Package org.apache.groovy.json.internal
Class NumberValue
java.lang.Object
java.lang.Number
org.apache.groovy.json.internal.NumberValue
- All Implemented Interfaces:
- Serializable,- Value
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionNumberValue(boolean chop, Type type, int startIndex, int endIndex, char[] buffer) NumberValue(Type type) 
- 
Method Summary
- 
Constructor Details- 
NumberValue
- 
NumberValuepublic NumberValue()
- 
NumberValue
 
- 
- 
Method Details- 
toString
- 
toValue
- 
toEnum
- 
toEnum
- 
isContainerpublic boolean isContainer()- Specified by:
- isContainerin interface- Value
 
- 
equals
- 
hashCodepublic int hashCode()
- 
bigDecimalValue- Specified by:
- bigDecimalValuein interface- Value
 
- 
bigIntegerValue- Specified by:
- bigIntegerValuein interface- Value
 
- 
stringValue- Specified by:
- stringValuein interface- Value
 
- 
stringValueEncoded- Specified by:
- stringValueEncodedin interface- Value
 
- 
dateValue
- 
intValuepublic int intValue()
- 
longValuepublic long longValue()
- 
byteValuepublic byte byteValue()
- 
shortValuepublic short shortValue()- Specified by:
- shortValuein interface- Value
- Overrides:
- shortValuein class- Number
 
- 
doubleValuepublic double doubleValue()- Specified by:
- doubleValuein interface- Value
- Specified by:
- doubleValuein class- Number
 
- 
booleanValuepublic boolean booleanValue()- Specified by:
- booleanValuein interface- Value
 
- 
floatValuepublic float floatValue()- Specified by:
- floatValuein interface- Value
- Specified by:
- floatValuein class- Number
 
- 
choppublic final void chop()
- 
charValuepublic char charValue()
 
-