/** * Function1 is an interface specification for a function object of 1 argument. * The apply method is called when this function is to be applied to an * Object. It returns an Object. */ interface Function1 { /** * Apply this Function1 to an Object argument, returning an Object. */ Object apply(Object x); }