#
# This file is free software, which comes along with NIT. This software is
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
-# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. You can modify it is you want, provided this header
# is kept unaltered, and a notification of the changes is added.
# You are allowed to redistribute it and sell it, alone or is a part of
# another product.
class DummyArray
-special Set[Int]
-special ArrayCapable[Int]
- var _capacity: Int
- redef readable var _length: Int
+ super Set[Int]
+ super ArrayCapable[Int]
+ var _capacity: Int
+ var _length: Int
+ redef fun length do return _length
var _keys: NativeArray[Int]
var _values: NativeArray[Int]
end
class DummyIterator
-special Iterator[Int]
+ super Iterator[Int]
var _array: DummyArray
var _pos: Int