-
- All Implemented Interfaces:
-
io.kjson.JSONPrimitive,io.kjson.JSONValue,java.io.Serializable
public final class JSONLong extends JSONNumberValue implements JSONPrimitive<Long>
A JSON long integer value (more than 32 bits but not more than 64 bits).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJSONLong.Companion
-
Method Summary
Modifier and Type Method Description LonggetValue()UnitappendTo(Appendable a)BooleanisIntegral()BooleanisLong()BooleanisInt()BooleanisShort()BooleanisByte()BooleanisULong()BooleanisUInt()BooleanisUShort()BooleanisUByte()BooleanisZero()BooleanisNegative()BooleanisPositive()BooleanisNotZero()BooleanisNotNegative()BooleanisNotPositive()DoubletoDouble()FloattoFloat()LongtoLong()IntegertoInt()CharactertoChar()ShorttoShort()BytetoByte()BigDecimaltoDecimal()ULongtoULong()UInttoUInt()UShorttoUShort()UBytetoUByte()Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Constructor Detail
-
JSONLong
JSONLong(Long value)
-
-
Method Detail
-
appendTo
Unit appendTo(Appendable a)
-
isIntegral
Boolean isIntegral()
-
isNegative
Boolean isNegative()
-
isPositive
Boolean isPositive()
-
isNotNegative
Boolean isNotNegative()
-
isNotPositive
Boolean isNotPositive()
-
toDecimal
BigDecimal toDecimal()
-
-
-
-