Method |
Description |
static <K,V> Map<K,V>of() |
It returns an immutable map containing zero mappings. |
static <K,V> Map<K,V>of(K k1, V v1) |
It returns an immutable map containing a single mapping. |
static <K,V> Map<K,V>of(K k1, V v1, K k2, V v2) |
It returns an immutable map containing two mappings. |
static <K,V> Map<K,V>of(K k1, V v1, K k2, V v2, K k3, V v3) |
It returns an immutable map containing three mappings. |
static <K,V> Map<K,V>of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) |
It returns an immutable map containing four mappings. |
static <K,V> Map<K,V>of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) |
It returns an immutable map containing five mappings. |
static <K,V> Map<K,V>of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6) |
It returns an immutable map containing six mappings. |
static <K,V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7) |
It returns an immutable map containing seven mappings. |
static <K,V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8) |
It returns an immutable map containing eight mappings. |
static <K,V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9) |
It returns an immutable map containing nine mappings. |
static <K,V> Map<K,V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5, K k6, V v6, K k7, V v7, K k8, V v8, K k9, V v9, K k10, V v10) |
It returns an immutable map containing ten mappings. |
static <K,V> Map<K,V> ofEntries(Map.Entry<? extends K,? extends V>... entries) |
It returns an immutable map containing keys and values extracted from the given entries. |