intarsys runtime library

de.intarsys.tools.lang
Class CallableAdapter<T>

java.lang.Object
  extended by de.intarsys.tools.lang.CallableAdapter<T>
All Implemented Interfaces:
Runnable, Callable<T>

public abstract class CallableAdapter<T>
extends Object
implements Runnable, Callable<T>


Constructor Summary
CallableAdapter()
           
 
Method Summary
 T getResult()
           
 T getResultUnchecked()
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Constructor Detail

CallableAdapter

public CallableAdapter()
Method Detail

getResult

public T getResult()
            throws Exception
Throws:
Exception

getResultUnchecked

public T getResultUnchecked()

run

public void run()
Specified by:
run in interface Runnable

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.