| java.lang.Object com.google.gwt.json.client.JSONValue com.google.gwt.json.client.JSONBoolean
JSONBoolean | public class JSONBoolean extends JSONValue (Code) | | Represents a JSON boolean value.
|
Method Summary | |
public boolean | booleanValue() Returns true if this is the instance representing "true",
false otherwise. | public static JSONBoolean | getInstance(boolean b) Gets a reference to the singleton instance representing either
true or false . | public JSONBoolean | isBoolean() Returns this , as this is a JSONBoolean. | public String | toString() Returns "true" for the true value, and "false" for the false value. |
booleanValue | public boolean booleanValue()(Code) | | Returns true if this is the instance representing "true",
false otherwise.
|
getInstance | public static JSONBoolean getInstance(boolean b)(Code) | | Gets a reference to the singleton instance representing either
true or false .
Parameters: b - controls which value to get if true , the JSONBoolean instance representingtrue is returned; otherwise, the JSONBooleaninstance representing false is returned |
isBoolean | public JSONBoolean isBoolean()(Code) | | Returns this , as this is a JSONBoolean.
|
toString | public String toString()(Code) | | Returns "true" for the true value, and "false" for the false value.
|
|
|