Package rekit.util
Class Once
java.lang.Object
rekit.util.Once
- All Implemented Interfaces:
VoidFunctionWithException
This class realized a
VoidFunctionWithException
which can executed
once. (After that execution the invocation has no effect anymore.)- Author:
- Dominik Fuchss
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Once
Create a Once-Object.- Parameters:
run
- the command which shall executed once
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceVoidFunctionWithException
- Throws:
Exception
-