[Nice-commit] Nice/stdlib/nice/lang range.nice,1.3,1.4
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2004-08-13 12:44:13
|
Update of /cvsroot/nice/Nice/stdlib/nice/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17174/stdlib/nice/lang Modified Files: range.nice Log Message: Range does not support remove and removeAll. Index: range.nice =================================================================== RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/range.nice,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** range.nice 13 Aug 2004 06:24:39 -0000 1.3 --- range.nice 13 Aug 2004 12:44:04 -0000 1.4 *************** *** 57,62 **** listIterator() = new RangeIterator(range: this, pos: begin.index-1); ! listIterator(index) = new RangeIterator(range: this, pos: begin.index + index-1); } --- 57,64 ---- listIterator() = new RangeIterator(range: this, pos: begin.index-1); ! listIterator(index) = new RangeIterator(range: this, pos: begin.index + index-1); + remove(elem) = throw new UnsupportedOperationException(); + removeAll(elems) = throw new UnsupportedOperationException(); } |