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