[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ./ChangeLog java/util/Hashtable.java
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath ./ChangeLog java/util/Hashtable.java |
Date: |
Wed, 11 Jan 2006 20:01:54 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 06/01/11 20:01:54
Modified files:
. : ChangeLog
java/util : Hashtable.java
Log message:
2006-01-11 Roman Kennke <address@hidden>
Reported by: Fridjof Siebert <address@hidden>
* java/util/Hashtable.java
(KEYS): Removed unneeded field.
(VALUES): Removed unneeded field.
(ENTRIES): Removed unneeded field.
(keys): Return a KeyEnumerator instance.
(elements): Returns a ValueEnumerator instance.
(toString): Use an EntryIterator instance.
(keySet): Return a KeyIterator instance.
(values): Return a ValueIterator instance.
(entrySet): Return an EntryIterator instance.
(hashCode): Use EntryIterator instance.
(rehash): Changed this loop to avoid redundant reads and make
it obvious that null checking is not needed.
(writeObject): Use EntryIterator instance.
(HashIterator): Removed class.
(Enumerator): Removed class.
(EntryIterator): New class.
(KeyIterator): New class.
(ValueIterator): New class.
(EntryEnumerator): New class.
(KeyEnumerator): New class.
(ValueEnumerator): New class.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6013&tr2=1.6014&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/util/Hashtable.java.diff?tr1=1.36&tr2=1.37&r1=text&r2=text