public class Maps
extends java.lang.Object
Maps instances easily.
Note: This was copied from the com.google.android.collect.Maps class| Constructor and Description |
|---|
Maps() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> java.util.HashMap<K,V> |
newHashMap()
Creates a
HashMap instance. |
static <K,V> java.util.TreeMap<K,V> |
newTreeMap()
Creates a
TreeMap instance. |
public static <K,V> java.util.HashMap<K,V> newHashMap()
HashMap instance.HashMappublic static <K,V> java.util.TreeMap<K,V> newTreeMap()
TreeMap instance.TreeMap