ist.palcom.base
Class Block

java.lang.Object
  extended by ist.palcom.base.Object
      extended by ist.palcom.base.Block
Direct Known Subclasses:
Block1, Block2, Block3

public class Block
extends Object

Block is a system class that is used to implement control structures in Smalltalk. A Block is created automatically by the Smalltalk compiler when the Smalltalk block-syntax is used. Blocks are also used to implement exception handlers. A block is evaluated by calling the methods value, value:, value:with:, etc. A block may not be used after the method in which it is defined has returned. In order to enforce this rule, there are certain restrictions on what may be done with a block. In particular, it is not permitted to store a block in an object, to return a block from a method or to throw a block as an exception.


Constructor Summary
Block()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Block

public Block()