douglarek
10/20/2016, 8:19 AMpublic interface Callable<V> {
/**
* Computes a result, or throws an exception if unable to do so.
*
* @return computed result
* @throws Exception if unable to compute a result
*/
V call() throws Exception;
} How can I pass this interface to my own fun ?