|
||||||||||
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.NSReal
public class NSReal
Represents an real number of 64 bits in size.
In this implementation, a primitive double
is used to represent the NSReal
.
Double
Constructor Summary | |
---|---|
NSReal(double theDouble)
Constructor. |
Method Summary | |
---|---|
double |
getDouble()
Get the contents of this object as a double . |
Double |
getValue()
Get the unmodifiable value of this object. |
Double |
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 NSReal(double theDouble)
theDouble
- value of the new objectMethod Detail |
---|
public Double getValue()
getValue
in class NSNumber
getDouble()
public double getDouble()
double
.
public Double number()
Number
.
number
in class NSNumber
Number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |