java.lang.Object | ||
↳ | com.google.gwt.json.client.JSONValue | |
↳ | com.google.gwt.json.client.JSONNumber |
Represents a JSON number. Numbers are represented by double
s.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new JSONNumber from the double value.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the double value this JSONNumber represents.
| |||||||||||
This method is deprecated.
See
doubleValue()
| |||||||||||
Returns
this , as this is a JSONNumber. | |||||||||||
Returns the JSON representation of this number.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.json.client.JSONValue
| |||||||||||
From class
java.lang.Object
|
Creates a new JSONNumber from the double value.
Gets the double value this JSONNumber represents.
Returns this
, as this is a JSONNumber.
null
otherwise.