jut.lang
Interface ParamRunnable<T>


public interface ParamRunnable<T>

interface providing a common protocol for objects that wish to execute code with one parameter.

this class solves the problem that in the standard JDK there is no Runnable with a parameter.

Author:
Georg Dietrich
See Also:
Runnable

Method Summary
 void run(T param)
          execute code with one parameter.
 

Method Detail

run

void run(T param)
execute code with one parameter.

Parameters:
param - - the parameter to hand over.