jdave
Interface Block


public interface Block

A block is a group of statements that must be evaluated lazily. In other words, a block is an approximation of a lambda function for JDave.

Author:
Joni Freeman, Pekka Enberg
See Also:
Specification.specify(Block, ExpectedException), Specification.specify(Block, ExpectedNoThrow)

Method Summary
 void run()
          Evaluate this block.
 

Method Detail

run

void run()
         throws java.lang.Throwable
Evaluate this block.

Throws:
java.lang.Throwable - if an exception is thrown during block evaluation.


Copyright © 2008. All Rights Reserved.