public class BooleanChecked
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
state
Object state.
|
Constructor and Description |
---|
BooleanChecked()
Default constructor.
|
BooleanChecked(boolean state)
Constructor.
|
BooleanChecked(BooleanChecked copy)
Constructor.
|
BooleanChecked(java.lang.String s)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue()
Return the state of the object.
|
java.lang.String |
toString()
Return the string representation of the object.
|
static BooleanChecked |
valueOf(java.lang.String s)
Returns an Boolean object representing the specified String
value.
|
public BooleanChecked()
public BooleanChecked(java.lang.String s) throws java.lang.NumberFormatException
s
- the string representation the state of the object. Possible
values are "true" and "false"java.lang.NumberFormatException
public BooleanChecked(boolean state)
state
- the state of the object.public BooleanChecked(BooleanChecked copy)
copy
- the object to be cloned.public boolean booleanValue()
public java.lang.String toString()
toString
in class java.lang.Object
public static BooleanChecked valueOf(java.lang.String s) throws java.lang.NumberFormatException
s
- the string to be parsedjava.lang.NumberFormatException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.