Class Block
java.lang.Object
com.vividsolutions.jump.util.Block
Simply a chunk of code that can be passed around. Facilitates
Smalltalk-like programming. Also useful as a "lexical closure"
i.e. a chunk of code with variables having long lifetimes.
Typically only one of the #yield methods needs to be implemented. Which one depends on the context.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Block
public Block()
-
-
Method Details
-
yield
-
yield
-
yield
-