logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Nice/stdlib/nice/lang java.nice,1.48,1.49: msg#00141

Subject: Nice/stdlib/nice/lang java.nice,1.48,1.49
Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1:/tmp/cvs-serv13172/F:/nice/stdlib/nice/lang

Modified Files:
        java.nice 
Log Message:
Make the Collection.synchronized... methods non-variant.

Index: java.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/java.nice,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** java.nice   17 Dec 2003 18:55:06 -0000      1.48
--- java.nice   19 Dec 2003 16:16:56 -0000      1.49
***************
*** 342,356 ****
  <K,K0,V,V0 | K <: K0, V <: V0> Map<K0,V0> singletonMap(K, V) =
    native Map Collections.singletonMap(Object, Object);
! <T,U | T <: U> Collection<U> synchronizedCollection(Collection<T>) =
    native Collection Collections.synchronizedCollection(Collection);
! <T,U | T <: U> List<U> synchronizedList(List<T>) =
    native List Collections.synchronizedList(List);
! <K,K0,V,V0 | K <: K0, V <: V0> Map<K0,V0> synchronizedMap(Map<K,V>) =
    native Map Collections.synchronizedMap(Map);
! <T,U | T <: U> Set<U> synchronizedSet(Set<T>) = 
    native Set Collections.synchronizedSet(Set);
! <K,K0,V,V0 | K <: K0, V <: V0> SortedMap<K0,V0> 
synchronizedSortedMap(SortedMap<K,V>) =
    native SortedMap Collections.synchronizedSortedMap(SortedMap);
! <T,U | T <: U> SortedSet<U> synchronizedSortedSet(SortedSet<T>) =
    native SortedSet Collections.synchronizedSortedSet(SortedSet);
  <T,U | T <: U> Collection<U> unmodifiableCollection(Collection<T>) = 
--- 342,356 ----
  <K,K0,V,V0 | K <: K0, V <: V0> Map<K0,V0> singletonMap(K, V) =
    native Map Collections.singletonMap(Object, Object);
! <T> Collection<T> synchronizedCollection(Collection<T>) =
    native Collection Collections.synchronizedCollection(Collection);
! <T> List<T> synchronizedList(List<T>) =
    native List Collections.synchronizedList(List);
! <K,V> Map<K,V> synchronizedMap(Map<K,V>) =
    native Map Collections.synchronizedMap(Map);
! <T> Set<T> synchronizedSet(Set<T>) = 
    native Set Collections.synchronizedSet(Set);
! <K,V> SortedMap<K,V> synchronizedSortedMap(SortedMap<K,V>) =
    native SortedMap Collections.synchronizedSortedMap(SortedMap);
! <T> SortedSet<T> synchronizedSortedSet(SortedSet<T>) =
    native SortedSet Collections.synchronizedSortedSet(SortedSet);
  <T,U | T <: U> Collection<U> unmodifiableCollection(Collection<T>) = 




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>