[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [generics] Error Fix Patch #05
From: |
Andrew John Hughes |
Subject: |
[cp-patches] [generics] Error Fix Patch #05 |
Date: |
Wed, 12 Jan 2005 20:04:50 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
I'm committing another set of error fixes to the generics branch.
2005-01-12 Andrew John Hughes <address@hidden>
* java/util/Collections.java
all occurences of
(toArray(E[] a)): fixed parameteric type to be different
from collection type
(entrySet()): immutable version retyped to return Map.Entry<K,V>
* java/util/TreeMap.java
Completion of generic typing for all methods and variables
(entries, comparator): generically typed
(TreeMap(Comparator<? super K>): likewise
(TreeMap(Map <? extends K, ? extends V>): likewise
(TreeMap(SortedMap<K, ? extends V> sm): likewise
(comparator()): likewise
(containsKey(Object)): cast to K for getKey()
(entrySet()): generically typed
(get(Object)): cast to K for getKey()
(keySet()): generically typed
(put(K,V)): likewise
(putAll(Map<? extends K, ? extends V>)): likewise
(remove(Object)): removed invalid generic typing
(values()): generically typed
(deleteFixup(Node<K,V>, Node<K,V>)): likewise
(highestLessThan(K)): likewise
(insertFixup(Node<K,V>)): likewise
(lastNode()): likewise
(lowestGreatThan(K, boolean): likewise
(predecessor(Node<K,V>)): likewise
(putKeysLinear(Iterator<K>, int)): likewise and doc
correction
(removeNode(Node<K,V>)): generically typed
(rotateLeft(Node<K,V>)): likewise
(rotateRight(Node<K,V>)): likewise
(sucessor(Node<K,V>)): likewise
(SubMap): generically typed with SK and SV
--
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
errors_05.diff
Description: Text document
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [generics] Error Fix Patch #05,
Andrew John Hughes <=