| Modifier and Type | Field and Description |
|---|---|
| private final boolean | m_val
Value of the object. |
| public static final XBoolean | S_FALSE
A true boolean object so we don't have to keep creating them. |
| public static final XBoolean | S_TRUE
A true boolean object so we don't have to keep creating them. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: The object value as a booleanOverrides com. Cast result object to a boolean. |
| public boolean | Returns: True if the two objects are equalObject to compare to this obj2)Overrides com. Tell if two objects are functionally equal. |
| public int | Returns: type of CLASS_BOOLEANOverrides com. Tell that this is a CLASS_BOOLEAN. |
| public String | Returns: type string "#BOOLEAN"Overrides com. Given a request type, return the equivalent string. |
| public double | Returns: numeric value of the object valueOverrides com. Cast result object to a number. |
| public Object | Returns: The object's value as a java objectOverrides com. Return a java object that's closest to the representation that should be handed to an extension. |
| public String | Returns: The object's value as a stringOverrides com. Cast result object to a string. |
| m_val | back to summary |
|---|---|
| private final boolean m_val Value of the object. | |
| S_FALSE | back to summary |
|---|---|
| public static final XBoolean S_FALSE A true boolean object so we don't have to keep creating them. | |
| S_TRUE | back to summary |
|---|---|
| public static final XBoolean S_TRUE A true boolean object so we don't have to keep creating them. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| XBoolean | back to summary |
|---|---|
| public XBoolean(boolean b) Construct a XBoolean object.
| |
| XBoolean | back to summary |
|---|---|
| public XBoolean(Boolean b) Construct a XBoolean object.
| |
| bool | back to summary |
|---|---|
| public boolean bool() Overrides com. Cast result object to a boolean.
| |
| equals | back to summary |
|---|---|
| public boolean equals(XObject obj2) Overrides com. Tell if two objects are functionally equal.
| |
| getType | back to summary |
|---|---|
| public int getType() Overrides com. Tell that this is a CLASS_BOOLEAN.
| |
| getTypeString | back to summary |
|---|---|
| public String getTypeString() Overrides com. Given a request type, return the equivalent string. For diagnostic purposes.
| |
| num | back to summary |
|---|---|
| public double num() Overrides com. Cast result object to a number.
| |
| object | back to summary |
|---|---|
| public Object object() Overrides com. Return a java object that's closest to the representation that should be handed to an extension.
| |
| str | back to summary |
|---|---|
| public String str() Overrides com. Cast result object to a string.
| |