public class CookJsonInt extends Object implements JsonNumber
JsonValue.ValueType| Constructor and Description |
|---|
CookJsonInt(int value) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
BigInteger |
bigIntegerValueExact() |
double |
doubleValue() |
JsonValue.ValueType |
getValueType() |
int |
hashCode() |
int |
intValue() |
int |
intValueExact() |
boolean |
isIntegral() |
long |
longValue() |
long |
longValueExact() |
String |
toString() |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitequalspublic JsonValue.ValueType getValueType()
getValueType in interface JsonValuepublic boolean isIntegral()
isIntegral in interface JsonNumberpublic int intValue()
intValue in interface JsonNumberpublic int intValueExact()
intValueExact in interface JsonNumberpublic long longValue()
longValue in interface JsonNumberpublic long longValueExact()
longValueExact in interface JsonNumberpublic BigInteger bigIntegerValue()
bigIntegerValue in interface JsonNumberpublic BigInteger bigIntegerValueExact()
bigIntegerValueExact in interface JsonNumberpublic double doubleValue()
doubleValue in interface JsonNumberpublic BigDecimal bigDecimalValue()
bigDecimalValue in interface JsonNumberpublic int hashCode()
hashCode in interface JsonNumberhashCode in class ObjectCopyright © 2016. All rights reserved.