public final class Maps extends Object
| Modifier and Type | Method and Description |
|---|---|
static <K,V> ConcurrentHashMap<K,V> |
newConcurrentMap() |
static <K extends Enum<K>,V> |
newEnumMap(Class<K> type) |
static <K extends Enum<K>,V> |
newEnumMap(Map<K,? extends V> map) |
static <K,V> HashMap<K,V> |
newHashMap() |
static <K,V> HashMap<K,V> |
newHashMap(Map<? extends K,? extends V> map) |
static <K,V> HashMap<K,V> |
newHashMapWithInitialCapacity(int initialCapacity) |
static <K,V> IdentityHashMap<K,V> |
newIdentityHashMap() |
static <K,V> LinkedHashMap<K,V> |
newLinkedHashMap() |
static <K,V> LinkedHashMap<K,V> |
newLinkedHashMap(Map<? extends K,? extends V> map) |
static <K extends Comparable<?>,V> |
newTreeMap() |
static <C,K extends C,V> |
newTreeMap(Comparator<C> comparator) |
static <K,V> TreeMap<K,V> |
newTreeMap(SortedMap<K,? extends V> map) |
public static <K,V> ConcurrentHashMap<K,V> newConcurrentMap()
public static <K,V> HashMap<K,V> newHashMap()
public static <K,V> HashMap<K,V> newHashMapWithInitialCapacity(int initialCapacity)
public static <K,V> IdentityHashMap<K,V> newIdentityHashMap()
public static <K,V> LinkedHashMap<K,V> newLinkedHashMap()
public static <K,V> LinkedHashMap<K,V> newLinkedHashMap(Map<? extends K,? extends V> map)
public static <K extends Comparable<?>,V> TreeMap<K,V> newTreeMap()
public static <C,K extends C,V> TreeMap<K,V> newTreeMap(Comparator<C> comparator)
Copyright © 2015 jsolve. All rights reserved.