Package jasima.core.util
Interface SimProcessUtil.SimRunnable
-
- Enclosing class:
- SimProcessUtil
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface SimProcessUtil.SimRunnable
Same as Java'sRunnable, except that it can throw the marker ExceptionSimProcess.MightBlock. Therefore usually anyRunnablecan also be used as aSimProcessUtil.SimRunnable, but additionally the executed code could be declared to throwSimProcess.MightBlock, without having to handle it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun()
-
-
-
Method Detail
-
run
void run() throws SimProcess.MightBlock
- Throws:
SimProcess.MightBlock
-
-