|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.util.MutableBoolean
public class MutableBoolean
A Boolean object whose value can be changed after construction.
| Constructor Summary | |
|---|---|
MutableBoolean(boolean val)
Constructor setting its initial value from the boolean value specified. |
|
MutableBoolean(String s)
Constructor deriving its initial value from the specified string. |
|
| Method Summary | |
|---|---|
boolean |
booleanValue()
Returns the value of this object as a boolean primitive. |
void |
setValue(boolean val)
Sets the value of this MutableBoolean. |
String |
toString()
Returns a String representing this objects value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MutableBoolean(boolean val)
val - the initial value.public MutableBoolean(String s)
true, if and only if the
string is not null and equals (ignoring case) "true".
s - the string to be converted to a the initial value.| Method Detail |
|---|
public void setValue(boolean val)
val - the new value.public boolean booleanValue()
boolean value of this object.public String toString()
true, a string equal to
"true" is returned. Otherwise, a string equal to
"false" is returned.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||