summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/Iterator.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util/Iterator.java')
-rw-r--r--libjava/java/util/Iterator.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/libjava/java/util/Iterator.java b/libjava/java/util/Iterator.java
new file mode 100644
index 00000000000..f6942fefa19
--- /dev/null
+++ b/libjava/java/util/Iterator.java
@@ -0,0 +1,25 @@
+/* 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 Iterator
+{
+ public boolean hasNext();
+ public Object next();
+ public void remove();
+}
OpenPOWER on IntegriCloud