Update of /cvsroot/nice/Nice/stdlib/nice/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28551/stdlib/nice/lang
Modified Files:
ForInIters.nice
Log Message:
Simplification of the type of forIterator:
<T | T <: int, int <: T> is useless, one can directly use int instead of T
in that case.
Index: ForInIters.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/ForInIters.nice,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ForInIters.nice 13 Aug 2004 06:24:39 -0000 1.8
--- ForInIters.nice 15 Sep 2004 17:46:55 -0000 1.9
***************
*** 26,31 ****
Iterator<char> forIterator(StringBuffer sb) = new StringBufferForIterator(strb: sb);
! <T | T <: int, int <: T>
! Iterator<T> forIterator(OpenRange<T> range) = range.openIterator();
//The implementations of additional Iterators
--- 26,30 ----
Iterator<char> forIterator(StringBuffer sb) = new StringBufferForIterator(strb: sb);
! Iterator<int> forIterator(OpenRange<int> range) = range.openIterator();
//The implementations of additional Iterators
|