ist.palcom.base
Class Boolean
java.lang.Object
ist.palcom.base.Object
ist.palcom.base.Boolean
- Direct Known Subclasses:
- False, True
public class Boolean
- extends Object
Boolean is a system class representing a true/false value.
In Smalltalk applications,
control structures are implemented using methods on
the boolean class. In Java/Beta applications, control structures
are implemented directly by the compiler.
|
Method Summary |
void |
ifFalse(Block trueBlock,
Block falseBlock)
Evaluates the trueBlock if this Boolean is True, evaluates
the falseBlock otherwise. |
void |
ifTrue(Block trueBlock,
Block falseBlock)
Evaluates the trueBlock if this Boolean is True, evaluates
the falseBlock otherwise. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Boolean
public Boolean()
ifFalse
public void ifFalse(Block trueBlock,
Block falseBlock)
- Evaluates the trueBlock if this Boolean is True, evaluates
the falseBlock otherwise.
- Parameters:
trueBlock - Block true blockfalseBlock - Block false block
ifTrue
public void ifTrue(Block trueBlock,
Block falseBlock)
- Evaluates the trueBlock if this Boolean is True, evaluates
the falseBlock otherwise.
- Parameters:
trueBlock - Block true blockfalseBlock - Block false block