diff options
| author | Bryce McKinlay <bryce@albatross.co.nz> | 2001-02-14 04:44:21 +0000 |
|---|---|---|
| committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-02-14 04:44:21 +0000 |
| commit | a142a996267f9c8adf239a565725174265c67749 (patch) | |
| tree | 058bbfd9bedd55a01efac0191014b8d48e5086bd /libjava/java/util/SortedSet.java | |
| parent | cbc59f0118e787e09ebded7c595bc577b35a6791 (diff) | |
re PR libgcj/1758 (java.util package lacks TreeMap)
* 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.
From-SVN: r39657
Diffstat (limited to 'libjava/java/util/SortedSet.java')
| -rw-r--r-- | libjava/java/util/SortedSet.java | 5 |
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); |
