Constructor and Description |
---|
NSInteger(long theLong)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getValue()
Get the unmodifiable value of this object.
|
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, isTrue
public NSInteger(long theLong)
theLong
- value of the new objectpublic java.lang.Long getValue()
getValue
in class NSNumber
toNumber()
public long toLong()
long
.public java.lang.Long toNumber()
Number
.