|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.plist.NSObject
net.sf.plist.NSNumber
net.sf.plist.NSInteger
public class NSInteger
Represents an integer number between -2^63 and 2^63-1.
In this implementation, a primitive long
is used to represent the NSInteger
.
Long
Constructor Summary | |
---|---|
NSInteger(long theLong)
Constructor. |
Method Summary | |
---|---|
long |
getLong()
Get the contents of this object as a long . |
Long |
getValue()
Get the unmodifiable value of this object. |
Long |
number()
Get the contents of this object as a Number . |
Methods inherited from class net.sf.plist.NSNumber |
---|
createInstance |
Methods inherited from class net.sf.plist.NSObject |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NSInteger(long theLong)
theLong
- value of the new objectMethod Detail |
---|
public Long getValue()
getValue
in class NSNumber
number()
public long getLong()
long
.
public Long number()
Number
.
number
in class NSNumber
Number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |