--- old/src/java.base/share/classes/java/util/function/Function.java 2015-02-04 10:44:13.198909377 +0100 +++ new/src/java.base/share/classes/java/util/function/Function.java 2015-02-04 10:44:13.095911287 +0100 @@ -22,7 +22,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -package java.util.function; +package javany.util.function; import java.util.Objects; @@ -38,7 +38,7 @@ * @since 1.8 */ @FunctionalInterface -public interface Function { +public interface Function { /** * Applies this function to the given argument. @@ -63,7 +63,7 @@ * * @see #andThen(Function) */ - default Function compose(Function before) { + default Function compose(Function before) { Objects.requireNonNull(before); return (V v) -> apply(before.apply(v)); } @@ -83,7 +83,7 @@ * * @see #compose(Function) */ - default Function andThen(Function after) { + default Function andThen(Function after) { Objects.requireNonNull(after); return (T t) -> after.apply(apply(t)); } @@ -94,7 +94,7 @@ * @param the type of the input and output objects to the function * @return a function that always returns its input argument */ - static Function identity() { + static Function identity() { return t -> t; } }