[Nice-commit] Nice/stdlib/nice/lang prelude.nice,1.33,1.34
Brought to you by:
bonniot
From: <ar...@us...> - 2003-09-16 18:38:15
|
Update of /cvsroot/nice/Nice/stdlib/nice/lang In directory sc8-pr-cvs1:/tmp/cvs-serv1890/F:/nice/stdlib/nice/lang Modified Files: prelude.nice Log Message: Added retypings for wait and notify. Index: prelude.nice =================================================================== RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/prelude.nice,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** prelude.nice 26 Aug 2003 16:07:58 -0000 1.33 --- prelude.nice 16 Sep 2003 18:38:11 -0000 1.34 *************** *** 98,103 **** } - - <T> int hashCode(!T) = native int Object.hashCode(); --- 98,101 ---- *************** *** 105,108 **** --- 103,112 ---- <Any T> String valueOf(T) = native String String.valueOf(Object); <Any T> Class getClass(!T) = native Class Object.getClass(); + + <Any T> void wait(!T) = native void Object.wait(); + <Any T> void wait(!T, long) = native void Object.wait(long); + <Any T> void wait(!T, long, int) = native void Object.wait(long, int); + <Any T> void notify(!T) = native void Object.notify(); + <Any T> void notifyAll(!T) = native void Object.notifyAll(); /** |