aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/Comparator.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util/Comparator.java')
-rw-r--r--libjava/java/util/Comparator.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/libjava/java/util/Comparator.java b/libjava/java/util/Comparator.java
new file mode 100644
index 0000000..8f114ee
--- /dev/null
+++ b/libjava/java/util/Comparator.java
@@ -0,0 +1,24 @@
+/* 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 Comparator
+{
+ public int compare(Object o1, Object o2);
+ public boolean equals(Object obj);
+}