Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1:/tmp/cvs-serv22413/stdlib/nice/lang
Modified Files:
java.nice
Log Message:
Added retyping for java.util.Arrays.asList().
Index: java.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/java.nice,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** java.nice 18 Nov 2003 16:04:17 -0000 1.41
--- java.nice 19 Nov 2003 01:19:50 -0000 1.42
***************
*** 347,350 ****
--- 347,352 ----
native boolean Arrays.equals(Object[],Object[]);
+ <T> List<T> asList(T[]) = native List Arrays.asList(Object[]);
+
/* StringTokenizer inherits from Enumeration, which makes it
wrongly parameterized. We ignore that inheritance.
|