public static class CollectionUtils.Map
extends java.lang.Object
| Constructor and Description |
|---|
Map() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> java.util.Map<K,V> |
of(java.lang.Object... keyValuePairs)
Returns a map containing the provided key pairs.
|
public static <K,V> java.util.Map<K,V> of(java.lang.Object... keyValuePairs)
K - the key typeV - the value typekeyValuePairs - the key pairs as an array with a key followed by a value