--- old/src/share/classes/java/util/function/UnaryOperator.java 2012-11-26 17:53:09.883300393 -0800 +++ new/src/share/classes/java/util/function/UnaryOperator.java 2012-11-26 17:53:09.675300383 -0800 @@ -32,7 +32,10 @@ * * @since 1.8 */ -public interface UnaryOperator { +public interface UnaryOperator extends Function { + + @Override + public default T apply(T operand) { return operate(operand); } /** * Returns the result of the operation upon the operand.