[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [generics] Add generics to IdentityHashMap
From: |
Andrew John Hughes |
Subject: |
[cp-patches] [generics] Add generics to IdentityHashMap |
Date: |
Mon, 17 Jan 2005 10:10:00 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
I'm committing the attached patch to add generic typing to IdentityHashMap.
2005-01-17 Andrew John Hughes <address@hidden>
* java/util/IdentityHashMap.java:
added parameteric typing
(entries): generically typed
(IdentityHashMap(Map<? extends K, ? extends V>)):
likewise
(entrySet()): likewise
(entrySet().iterator()): likewise
(get(Object)): likewise
(keySet()): likewise
(keySet().iterator()): likewise
(put(K,V)): likewise
(putAll(Map<? extends K, ? extends V>)): likewise
(remove(Object)): likewise
(values()): likewise
(values().iterator()): likewise
(IdentityIterator): likewise
(IdentityIterator.next()): likewise
(IdentityEntry): likewise
(IdentityEntry.getKey()): likewise
(IdentityEntry.getValue()): likewise
(IdentityEntry.putValue(V)): likewise
(readObject()): appropriate casting
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
No software patents in Europe -- http://nosoftwarepatents.com
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner
identity_hash_map.diff
Description: Text document
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [generics] Add generics to IdentityHashMap,
Andrew John Hughes <=