| Constructor and Description |
|---|
NSInteger(long theLong)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getValue()
Get the unmodifiable value of this object.
|
byte[] |
toBytes()
Get the raw data of the value.
|
double |
toDouble()
Return the value as a double.
|
long |
toLong()
Get the contents of this object as a
long. |
java.lang.Long |
toNumber()
Get the contents of this object as a
Number. |
createInstance, isTrueequals, fromObject, hashCode, toBoolean, toDate, toInteger, toList, toListObject, toMap, toMapObject, toObject, toStream, toStringpublic NSInteger(long theLong)
theLong - value of the new objectpublic java.lang.Long getValue()
getValue in class NSNumbertoNumber()public long toLong()
long.public java.lang.Long toNumber()
Number.public double toDouble()
NSReal
the double value is derived from the actual value.