ist.palcom.base
Class Boolean

java.lang.Object
  extended by ist.palcom.base.Object
      extended by 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.


Constructor Summary
Boolean()
           
 
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
 

Constructor Detail

Boolean

public Boolean()
Method Detail

ifFalse

public void ifFalse(Block trueBlock,
                    Block falseBlock)
Evaluates the trueBlock if this Boolean is True, evaluates the falseBlock otherwise.

Parameters:
trueBlock - Block true block
falseBlock - 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 block
falseBlock - Block false block