package username.functions; /** * A function of one argument, an integer, that returns an integer. * * @author Samuel A. Rebelsky * @version 1.0 of April 2006 */ public interface UnaryIntegerFunction { /** * Apply this function to an integer. */ public int apply(int x); } // interface UnaryIntegerFunction