summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/TreeSet.java
Commit message (Collapse)AuthorAgeFilesLines
* * java/util/TreeSet.java (clone): Made subclass safe, usebryce2001-02-161-3/+10
| | | | | | | | super.clone(), not new. * java/util/TreeMap.java (clone): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39734 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/TreeSet.java (clone): Call TreeMap.clone(), notbryce2001-02-151-10/+3
| | | | | | | | | Object.clone(). * java/util/Collections.java (ReverseComparator): New static class. (reverseOrder): Return static instance of ReverseComparator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39705 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/TreeMap.java: New file.bryce2001-02-141-0/+289
* 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
OpenPOWER on IntegriCloud