public abstract class HardwareDescriptorConverter.RunnableWithResult<R>
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
RunnableWithResult() |
Modifier and Type | Method and Description |
---|---|
R |
getResult()
Gets the result.
|
void |
run()
By default sets the result returned by
runWithResult() . |
protected abstract R |
runWithResult() |
protected void |
setResult(R result) |
protected void setResult(R result)
public R getResult()
public final void run()
runWithResult()
.run
in interface java.lang.Runnable
protected abstract R runWithResult()