Package com.google.api.client.util
Class Maps
- java.lang.Object
-
- com.google.api.client.util.Maps
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
HashMap<K,V>newHashMap()Returns a new mutable, emptyHashMapinstance.static <K,V>
LinkedHashMap<K,V>newLinkedHashMap()Returns a new mutable, empty, insertion-orderedLinkedHashMapinstance.static <K extends Comparable<?>,V>
TreeMap<K,V>newTreeMap()Returns a new mutable, emptyTreeMapinstance using the natural ordering of its elements.
-
-
-
Method Detail
-
newHashMap
public static <K,V> HashMap<K,V> newHashMap()
Returns a new mutable, emptyHashMapinstance.
-
newLinkedHashMap
public static <K,V> LinkedHashMap<K,V> newLinkedHashMap()
Returns a new mutable, empty, insertion-orderedLinkedHashMapinstance.
-
newTreeMap
public static <K extends Comparable<?>,V> TreeMap<K,V> newTreeMap()
Returns a new mutable, emptyTreeMapinstance using the natural ordering of its elements.
-
-