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, emptyHashMap
instance.static <K,V>
LinkedHashMap<K,V>newLinkedHashMap()
Returns a new mutable, empty, insertion-orderedLinkedHashMap
instance.static <K extends Comparable<?>,V>
TreeMap<K,V>newTreeMap()
Returns a new mutable, emptyTreeMap
instance using the natural ordering of its elements.
-
-
-
Method Detail
-
newHashMap
public static <K,V> HashMap<K,V> newHashMap()
Returns a new mutable, emptyHashMap
instance.
-
newLinkedHashMap
public static <K,V> LinkedHashMap<K,V> newLinkedHashMap()
Returns a new mutable, empty, insertion-orderedLinkedHashMap
instance.
-
newTreeMap
public static <K extends Comparable<?>,V> TreeMap<K,V> newTreeMap()
Returns a new mutable, emptyTreeMap
instance using the natural ordering of its elements.
-
-