/* File: Function.java Originally written by Doug Lea and released into the public domain. Thanks for the assistance and support of Sun Microsystems Labs, Agorics Inc, Loral, and everyone contributing, testing, and using this code. History: Date Who What 22Oct95 dl@cs.oswego.edu Created. */ package collections; /** * * Function is a common interface for classes with an arbitrary * function of one Object argument that returns another Object, * without throwing any kind of user exception. * @author Doug Lea * @version 0.93 * *
For an introduction to this package see Overview . * **/ public interface Function { /** * Execute some function of the argument. **/ public Object function(Object obj); }