Interface ICodeBlock<T>

  • Type Parameters:
    T - the type of result of the callback method.

    public interface ICodeBlock<T>
    Helper to allow running certain code in a certain scope (e.g.: synchronization scope, pre- or postrequisites to meet,...).

    Author:
    Achim Westermann
    • Method Detail

      • execute

        T execute()
        Executes the code this instance stands for and gives back the result.

        Returns:
        the result.