Added the keys() function to the Map interface, replaced instances of

SimpleMap with HashMap. Discarded SimpleMap.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4122 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-05-16 21:06:06 +00:00
parent 4aa8f5a5d5
commit 64e87bb907
12 changed files with 36 additions and 85 deletions
+5
View File
@@ -26,6 +26,11 @@ public interface Map
*/
function isEmpty () :Boolean;
/**
* Return all the unique keys in this Map, in Array form.
*/
function keys () :Array;
/**
* Store a value in the map associated with the specified key.
* Returns the previous value stored for that key, or undefined.