summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/SortedSet.java
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-14 04:44:21 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-14 04:44:21 +0000
commitcfd386ad0babbb02b7ee00af04f9f45efbaf583d (patch)
tree058bbfd9bedd55a01efac0191014b8d48e5086bd /libjava/java/util/SortedSet.java
parent21fa82cb442af540501ece3566422d9e95b28351 (diff)
downloadppe42-gcc-cfd386ad0babbb02b7ee00af04f9f45efbaf583d.tar.gz
ppe42-gcc-cfd386ad0babbb02b7ee00af04f9f45efbaf583d.zip
* java/util/TreeMap.java: New file.
* java/util/TreeSet.java: New file. * Makefile.am: Add TreeMap and TreeSet. Enable WeakHashMap. * Makefile.in: Rebuilt. * java/util/HashSet.java (clone): Use constructor instead of calling clone on itself. * java/util/SortedSet.java: Sync with classpath. * java/util/HashMap.java (hash): Use if statement instead of ternary, for clarity. Resolves PR libgcj/1758. Resolves PR java/1684. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39657 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/SortedSet.java')
-rw-r--r--libjava/java/util/SortedSet.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/libjava/java/util/SortedSet.java b/libjava/java/util/SortedSet.java
index ede65032b52..f72dd66ef97 100644
--- a/libjava/java/util/SortedSet.java
+++ b/libjava/java/util/SortedSet.java
@@ -8,7 +8,7 @@ GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -31,7 +31,8 @@ executable file might be covered by the GNU General Public License. */
package java.util;
-public interface SortedSet extends Set {
+public interface SortedSet extends Set
+{
Comparator comparator();
Object first();
SortedSet headSet(Object toElement);
OpenPOWER on IntegriCloud