/** * */ package pt.utl.ist.fenix.tools.util; /** * Defines a functor interface implemented by classes that do something. *

* A Closure represents a block of code which is executed from * inside some block, function or iteration. It operates an input object. * * This interface is a Type-Checked version of the Commons Transformer * * @author Joao Carvalho (joao.pedro.carvalho@ist.utl.pt) * */ public interface Closure { public void execute(T object); }