/[classpath]/classpath/ChangeLog
ViewVC logotype

Diff of /classpath/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.251 by tromey, Thu Oct 18 23:43:27 2001 UTC revision 1.252 by ericb, Fri Oct 19 00:17:44 2001 UTC
# Line 1  Line 1 
1    2001-10-18  Eric Blake  <ebb9@email.byu.edu>
2    
3            * java/util/AbstractCollection.java: Improve javadoc.
4            (AbstractCollection()): Make constructor protected.
5            (equals(Object, Object), hashCode(Object)): Add utility methods.
6            * java/util/AbstractList.java: Improve javadoc.
7            (AbstractList()): Make constructor protected.
8            (indexOf(Object)): Call listIterator(), not listIterator(int).
9            (iterator()): Follow Sun's requirement to not use listIterator(0).
10            (listIterator(int)): Make AbstractListItr anonymous.
11            (subList(int, int)): Add support for RandomAccess.
12            (SubList.add(int, Object), SubList.remove(Object)): Fix bug with
13            modCount tracking.
14            (SubList.addAll(Collection)): Add missing method.
15            (SubList.listIterator(int)): Fix bugs in indexing, modCount
16            tracking.
17            (class RandomAccessSubList): Add new class.
18            * java/util/AbstractMap.java: Improve javadoc.
19            (keys, values, KEYS, VALUES, ENTRIES): Consolidate common map
20            fields.
21            (AbstractMap()): Make constructor protected.
22            (equals(Object, Object), hashCode(Object)): Add utility methods.
23            (equals(Object)): Change algorithm to
24            entrySet().equals(m.entrySet()), as documented by Sun.
25            (keySet(), values()): Cache the collections.
26            * java/util/AbstractSequentialList.java: Improve javadoc.
27            (AbstractSequentialList()): Make constructor protected.
28            * java/util/AbstractSet.java: Improve javadoc.
29            (AbstractSet()): Make constructor protected.
30            (removeAll(Collection)): Add missing method.
31            * java/util/Arrays.java: Improve javadoc, rearrange method orders.
32            (defaultComparator): Remove, in favor of
33            Collections.compare(Object, Object, Comparator).
34            (binarySearch, equals, sort): Fix natural order comparison of
35            floats and doubles. Also improve Object comparison - when
36            comparator is null, use natural order.
37            (fill, sort): Add missing checks for IllegalArgumentException.
38            (sort, qsort): Fix sorting bugs, rework the code for more
39            legibility.
40            (mergeSort): Inline into sort(Object[], int, int, Comparator).
41            (class ArrayList): Rename from ListImpl, and make compatible with
42            JDK serialization. Add methods which more efficiently override
43            those of AbstractList.
44            * java/util/Collections: Improve javadoc.
45            (isSequential(List)): Add and use a method for deciding between
46            RandomAccess and sequential algorithms on lists.
47            (class Empty*, class Synchronized*, class Unmodifiable*): Make
48            compliant with JDK serializability.
49            (class Singleton*, class CopiesList, class RevereseComparator),
50            (class UnmodifiableMap.UnmodifiableEntrySet),
51            (class *RandomAccessList): New classes for serial compatibility.
52            (class Empty*, class Singleton*, class CopiesList): Add methods
53            which more efficiently override those of Abstract*.
54            (search): Inline into binarySearch(List, Object, Comparator).
55            (binarySearch): Make sequential search only do log(n) comparisons,
56            instead of n.
57            (copy(List, List)): Do bounds checking before starting.
58            (indexOfSubList, lastIndexOfSubList, list, replaceAll, rotate),
59            (swap): Add new JDK 1.4 methods.
60            (binarySearch, max, min, sort): Allow null comparator to represent
61            natural ordering.
62            (reverse(List)): Avoid unnecessary swap.
63            (shuffle(List, Random)): Do shuffle in-place for RandomAccess
64            lists.
65            (SingletonList.get): Fix logic bug.
66            (SingletonMap.entrySet): Make the entry immutable, and cache the
67            returned set.
68            (SynchronizedCollection, SynchronizedMap, UnmodifiableCollection),
69            (UnmodifiableMap): Detect null pointer in construction.
70            (SynchronizedMap, UnmodifiableMap): Cache collection views.
71            * java/util/BasicMapEntry: Improve javadoc.
72    
73  2001-10-18  Tom Tromey  <tromey@redhat.com>  2001-10-18  Tom Tromey  <tromey@redhat.com>
74    
75          * java/io/BufferedWriter.java (write(String,int,int)): Correctly          * java/io/BufferedWriter.java (write(String,int,int)): Correctly

Legend:
Removed from v.1.251  
changed lines
  Added in v.1.252

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26