com.google.dart.compiler.util
Class Maps

java.lang.Object
  extended by com.google.dart.compiler.util.Maps

public class Maps
extends java.lang.Object

Utility methods for operating on memory-efficient maps. All maps of size 0 or 1 are assumed to be immutable. All maps of size greater than 1 are assumed to be mutable.


Method Summary
static
<K,V> java.util.Map<K,V>
put(java.util.Map<K,V> map, K key, V value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

put

public static <K,V> java.util.Map<K,V> put(java.util.Map<K,V> map,
                                           K key,
                                           V value)