Javadoc
This commit is contained in:
parent
8218767894
commit
2252fade50
|
@ -16,14 +16,18 @@
|
|||
*/
|
||||
package org.apache.commons.lang3.concurrent;
|
||||
|
||||
import org.apache.commons.lang3.function.FailableFunction;
|
||||
|
||||
/**
|
||||
* <p>Definition of an interface for a wrapper around a calculation that takes a single parameter and returns a result.</p>
|
||||
*
|
||||
* <p>This interface allows for wrapping a calculation into a class so that it maybe passed around an application.</p>
|
||||
*
|
||||
* <p>See also {@code FailableFunction<I, O, InterruptedException>}.</p>
|
||||
*
|
||||
* @param <I> the type of the input to the calculation
|
||||
* @param <O> the type of the output of the calculation
|
||||
*
|
||||
* @see FailableFunction
|
||||
* @since 3.6
|
||||
*/
|
||||
public interface Computable<I, O> {
|
||||
|
|
Loading…
Reference in New Issue