public class Maps extends Object
Constructor and Description |
---|
Maps() |
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
create() |
static <K,V> Map<K,V> |
create(K key,
V value) |
static <K,V> Map<K,V> |
normalize(Map<K,V> map) |
static <K,V> Map<K,V> |
normalizeUnmodifiable(Map<K,V> map) |
static <K,V> Map<K,V> |
put(Map<K,V> map,
K key,
V value) |
static <K,V> Map<K,V> |
putAll(Map<K,V> map,
Map<K,V> toAdd) |
static <K,V> Map<K,V> |
putOrdered(Map<K,V> map,
K key,
V value)
A variation of the put method which uses a LinkedHashMap.
|
static <K,V> Map<K,V> |
remove(Map<K,V> map,
K key) |
Copyright © 2018. All rights reserved.