--- old/src/share/classes/java/util/function/IntUnaryOperator.java 2013-05-06 18:47:06.735524476 -0700 +++ new/src/share/classes/java/util/function/IntUnaryOperator.java 2013-05-06 18:47:06.543524466 -0700 @@ -37,10 +37,19 @@ /** * Returns the {@code int} value result of the operation upon the - * {@code int} operand. + * {@code int} operand. * * @param operand the operand value * @return the operation result value */ - public int applyAsInt(int operand); + int applyAsInt(int operand); + + /** + * Returns a unary operator that provides its input value as the result. + * + * @return a unary operator that provides its input value as the result + */ + static IntUnaryOperator identity() { + return t -> t; + } }