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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user