< prev index next >
src/java.base/share/classes/java/util/ListIterator.java
Print this page
@@ -21,11 +21,11 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-package java.util;
+package javany.util;
/**
* An iterator for lists that allows the programmer
* to traverse the list in either direction, modify
* the list during iteration, and obtain the iterator's
@@ -55,11 +55,11 @@
* @see Iterator
* @see Enumeration
* @see List#listIterator()
* @since 1.2
*/
-public interface ListIterator<E> extends Iterator<E> {
+public interface ListIterator<any E> extends Iterator<E> {
// Query Operations
/**
* Returns {@code true} if this list iterator has more elements when
* traversing the list in the forward direction. (In other words,
< prev index next >