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.
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.