| Package | com.threerings.util.maps |
| Class | public class ImmutableMap |
| Inheritance | ImmutableMap com.threerings.util.maps.ForwardingMap |
| Method | Defined by | ||
|---|---|---|---|
|
ImmutableMap(source:Map)
| ImmutableMap | ||
|
clear():void
Clear this map, removing all stored elements.
| ImmutableMap | ||
|
put(key:Object, value:Object):*
Store a value in the map associated with the specified key.
| ImmutableMap | ||
|
remove(key:Object):*
Removes the mapping for the specified key.
| ImmutableMap | ||
| ImmutableMap | () | constructor |
| clear | () | method |
public override function clear():voidClear this map, removing all stored elements.
| put | () | method |
public override function put(key:Object, value:Object):*Store a value in the map associated with the specified key. Returns the previous value stored for that key, or undefined.
Parameterskey:Object |
|
value:Object |
* |
| remove | () | method |
public override function remove(key:Object):*Removes the mapping for the specified key. Returns the value that had been stored, or undefined.
Parameterskey:Object |
* |