I- the type of the input to the calculation
O- the type of the output of the calculation
public interface Computable<I,O>
Definition of an interface for a wrapper around a calculation that takes a single parameter and returns a result.
This interface allows for wrapping a calculation into a class so that it maybe passed around an application.
arg- the argument for the calculation
java.lang.InterruptedException- thrown if the calculation is interrupted
Copyright © 2010 - 2019 Adobe. All Rights Reserved