public final class JsonLongImpl extends Object implements javax.json.JsonNumber
Modifier and Type | Method and Description |
---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
BigInteger |
bigIntegerValueExact() |
double |
doubleValue() |
boolean |
equals(Object obj) |
javax.json.JsonValue.ValueType |
getValueType() |
int |
hashCode() |
int |
intValue() |
int |
intValueExact() |
boolean |
isIntegral() |
long |
longValue() |
long |
longValueExact() |
String |
toString() |
public boolean isIntegral()
isIntegral
in interface javax.json.JsonNumber
public int intValue()
intValue
in interface javax.json.JsonNumber
public int intValueExact()
intValueExact
in interface javax.json.JsonNumber
public long longValue()
longValue
in interface javax.json.JsonNumber
public long longValueExact()
longValueExact
in interface javax.json.JsonNumber
public BigInteger bigIntegerValue()
bigIntegerValue
in interface javax.json.JsonNumber
public BigInteger bigIntegerValueExact()
bigIntegerValueExact
in interface javax.json.JsonNumber
public double doubleValue()
doubleValue
in interface javax.json.JsonNumber
public BigDecimal bigDecimalValue()
bigDecimalValue
in interface javax.json.JsonNumber
public javax.json.JsonValue.ValueType getValueType()
getValueType
in interface javax.json.JsonValue
public String toString()
public int hashCode()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.