[Nice-commit] Nice/stdlib/nice/lang array.nice,1.32,1.33
Brought to you by:
bonniot
From: <bo...@us...> - 2004-03-01 17:27:32
|
Update of /cvsroot/nice/Nice/stdlib/nice/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18330/stdlib/nice/lang Modified Files: array.nice Log Message: Renamed <T> ?T find(!T[] a, (!T)->boolean test) as 'search', since it is not supposed to be a specialization of <T> T find (List<T> list, T->boolean test) but of <T> ?T search (java.util.List<!T> list, !T->boolean test) Index: array.nice =================================================================== RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/array.nice,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** array.nice 17 Jan 2004 16:35:43 -0000 1.32 --- array.nice 1 Mar 2004 17:16:13 -0000 1.33 *************** *** 110,114 **** } */ ! <T> ?T find(!T[] a, (!T)->boolean test) { for (int i = 0; i < a.length; i++) --- 110,114 ---- } */ ! <T> ?T search(!T[] a, (!T)->boolean test) { for (int i = 0; i < a.length; i++) |