summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/ListIterator.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util/ListIterator.java')
-rw-r--r--libjava/java/util/ListIterator.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/libjava/java/util/ListIterator.java b/libjava/java/util/ListIterator.java
new file mode 100644
index 00000000000..8250e2ab01a
--- /dev/null
+++ b/libjava/java/util/ListIterator.java
@@ -0,0 +1,31 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.util;
+
+/**
+ * @author Warren Levy <warrenl@cygnus.com>
+ * @date March 16, 2000.
+ */
+/* Written using on-line Java Platform 1.2 API Specification.
+ * Status: Believed complete and correct.
+ */
+
+// JDK1.2
+public interface ListIterator extends Iterator
+{
+ public boolean hasNext();
+ public Object next();
+ public boolean hasPrevious();
+ public Object previous();
+ public int nextIndex();
+ public int previousIndex();
+ public void remove();
+ public void set(Object o);
+ public void add(Object o);
+}
OpenPOWER on IntegriCloud