| Modifier and Type | Method and Description |
|---|---|
static <K |
newHashMap()
Returns a new mutable, empty
HashMap instance.
|
static <K |
newLinkedHashMap()
Returns a new mutable, empty, insertion-ordered
LinkedHashMap instance.
|
static <K extends Comparable |
newTreeMap()
Returns a new mutable, empty
TreeMap instance using the natural ordering of its elements.
|
public static <K,V> HashMap <K ,V> newHashMap()
HashMap instance.
public static <K,V> LinkedHashMap <K ,V> newLinkedHashMap()
LinkedHashMap instance.
public static <K extends Comparable<?> ,V> TreeMap <K ,V> newTreeMap()
TreeMap instance using the natural ordering of its elements.