--- old/src/java.base/share/classes/java/util/Iterator.java 2015-02-04 10:44:11.219946066 +0100 +++ new/src/java.base/share/classes/java/util/Iterator.java 2015-02-04 10:44:11.117947957 +0100 @@ -23,9 +23,10 @@ * questions. */ -package java.util; +package javany.util; -import java.util.function.Consumer; +import java.util.Objects; +import javany.util.function.Consumer; /** * An iterator over a collection. {@code Iterator} takes the place of @@ -51,7 +52,7 @@ * @see Iterable * @since 1.2 */ -public interface Iterator { +public interface Iterator { /** * Returns {@code true} if the iteration has more elements. * (In other words, returns {@code true} if {@link #next} would @@ -65,7 +66,7 @@ * Returns the next element in the iteration. * * @return the next element in the iteration - * @throws NoSuchElementException if the iteration has no more elements + * @throws java.util.NoSuchElementException if the iteration has no more elements */ E next();