From cfd386ad0babbb02b7ee00af04f9f45efbaf583d Mon Sep 17 00:00:00 2001 From: bryce Date: Wed, 14 Feb 2001 04:44:21 +0000 Subject: * 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 --- libjava/java/util/SortedSet.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libjava/java/util/SortedSet.java') 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); -- cgit v1.2.3