1 |
|
2001-10-25 Eric Blake <ebb9@email.byu.edu> |
2 |
|
|
3 |
|
* java/util/AbstractCollection.java (removeAllInternal), |
4 |
|
(retainAllInternal): Add hooks for use by ArrayList. |
5 |
|
* java/util/AbstractList.java: Minor code updates. Fix some |
6 |
|
scoping. |
7 |
|
* java/util/AbstractMap.java: ditto |
8 |
|
* java/util/ArrayList.java (readObject, writeObject): ditto |
9 |
|
(removeAllInternal, retainAllInternal): Optimize. |
10 |
|
* java/util/Arrays.java: ditto |
11 |
|
* java/util/Collections.java: ditto. Change order of parameters |
12 |
|
to equals(Object, Object) to match specs. |
13 |
|
* java/util/Dictionary.java: Improve javadoc. |
14 |
|
(Dictionary): Add explicit constructor. |
15 |
|
* java/util/HashMap.java: Improve javadoc. Rearrange methods to |
16 |
|
follow order in JDK. Cleanups related to recent code migration to |
17 |
|
AbstractMap. Fix some scoping. |
18 |
|
(entrySet): Cache the result. |
19 |
|
(modCount): Ensure that this is updated correctly. |
20 |
|
* java/util/HashSet.java: Improve javadoc. Fix some scoping. |
21 |
|
(init): Add hooks for LinkedHashSet. |
22 |
|
(map): Use "" instead of Boolean.TRUE in backing map. Use |
23 |
|
package-private API where possible for less overhead. |
24 |
|
(readObject, writeObject): Fix serialization. |
25 |
|
* java/util/Hashtable.java: Improve javadoc. Fix some scoping. |
26 |
|
(entrySet, keySet, values): Cache the result. |
27 |
|
(modCount): Ensure that this is updated correctly. |
28 |
|
(contains, remove): Fix NullPointer checking to match specs. |
29 |
|
(class Enumeration): Make more like HashIterator. |
30 |
|
* java/util/IdentityHashMap.java: Minor code updates. |
31 |
|
(modCount): Ensure that this is updated correctly. |
32 |
|
(readObject, writeObject): Fix serialization. |
33 |
|
* java/util/LinkedHashMap.java: Minor code updates. Cleanups |
34 |
|
related to recent code migration to AbstractMap. |
35 |
|
* java/util/LinkedHashSet.java: New file. |
36 |
|
* java/util/LinkedList.java: |
37 |
|
(readObject, writeObject): Fix serialization. |
38 |
|
* java/util/Makefile.am: List recently added files. |
39 |
|
* java/util/Stack.java: Minor code updates. |
40 |
|
* java/util/TreeMap.java: Improve javadoc. Overhaul the class to |
41 |
|
be more efficient. Fix some scoping. Rearrange the methods. |
42 |
|
(nil): Ensure that this can be thread-safe, and make it a static |
43 |
|
final. Initialize it to be more useful as a sentinal node. |
44 |
|
(Node): Specify color in constructor. |
45 |
|
(deleteFixup, insertFixup): Improve comments and algorithm. |
46 |
|
(fabricateTree): Redesign with less overhead. |
47 |
|
(lowestGreaterThan): Add parameter first to make SubMap easier. |
48 |
|
(removeNode): Patch hole where nil was being modified. Choose |
49 |
|
predecessor instead of successor so in-place swap works. |
50 |
|
(class VerifyResult, verifyTree, verifySub, verifyError): Remove |
51 |
|
this dead code after verifying the class works. |
52 |
|
(class SubMap): Rewrite several algorithms to avoid problems with |
53 |
|
comparing nil. |
54 |
|
* java/util/TreeSet.java: Improve javadoc. Fix some scoping. |
55 |
|
(clone): Fix ClassCastException when cloning subSet(). |
56 |
|
(readObject, writeObject): Fix serialization. |
57 |
|
* java/util/WeakHashMap.java: Improve javadoc. Fix some scoping. |
58 |
|
(NULL_KEY): Make it compare as null, for ease elsewhere. |
59 |
|
(Class WeakEntry): Rename from Entry, to avoid shadowing |
60 |
|
Map.Entry. Add missing toString. |
61 |
|
(modCount): Ensure that this is updated correctly. |
62 |
|
(clear, containsValue, keySet, putAll, values, WeakHashMap(Map)): |
63 |
|
Add missing methods and constructor. |
64 |
|
|
65 |
2001-10-24 Tom Tromey <tromey@redhat.com> |
2001-10-24 Tom Tromey <tromey@redhat.com> |
66 |
|
|
67 |
* java/sql/Types.java (Types): New constructor. |
* java/sql/Types.java (Types): New constructor. |