lib: add 'keys' and 'values' methods in Map
authorJean Privat <jean@pryen.org>
Fri, 10 Feb 2012 16:24:45 +0000 (11:24 -0500)
committerJean Privat <jean@pryen.org>
Mon, 13 Feb 2012 19:04:52 +0000 (14:04 -0500)
commit0c66a8f19033a1c71fc718629ff6c8490a4061e3
tree1117b86b4c604a70b62f2fbb837f6e99c473a7c0
parent1bf25c1162b7f1b26ab9531f8330be2d23102857
lib: add 'keys' and 'values' methods in Map

Make a bunch of method in Map depreciated and implement them by using
a delegation trough keys or values.

Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/collection/abstract_collection.nit
lib/standard/collection/array.nit
lib/standard/collection/hash_collection.nit
tests/test_iterate.nit
tests/test_map.nit