#
# 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
- var _keys: NativeArray[Int]
- var _values: NativeArray[Int]
+ super Set[Int]
+ super ArrayCapable[Int]
+ private var capacity: Int
+ redef var length: Int
+ private var keys: NativeArray[Int]
+ private var values: NativeArray[Int]
redef fun add(value: Int)
do
end
class DummyIterator
-special Iterator[Int]
- var _array: DummyArray
- var _pos: Int
+ super Iterator[Int]
+ private var array: DummyArray
+ private var pos: Int
redef fun item: Int
do