Package info.monitorenter.gui.chart
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
execute()
Executes the code this instance stands for and gives back the result.
-
-
-
Method Detail
-
execute
T execute()
Executes the code this instance stands for and gives back the result.- Returns:
- the result.
-
-