ImmutableMapFactoryImpl
public interface ImmutableMapFactory
Modifier and Type | Method | Description |
---|---|---|
<K,V> ImmutableMap<K,V> |
empty() |
|
<K,V> ImmutableMap<K,V> |
of() |
Same as
empty() . |
<K,V> ImmutableMap<K,V> |
of(K key,
V value) |
Same as
with(Object, Object) . |
<K,V> ImmutableMap<K,V> |
of(K key1,
V value1,
K key2,
V value2) |
Same as
with(Object, Object, Object, Object) . |
<K,V> ImmutableMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> ImmutableMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> ImmutableMap<K,V> |
ofAll(java.util.Map<K,V> map) |
Same as
withAll(Map) . |
<K,V> ImmutableMap<K,V> |
ofMap(java.util.Map<K,V> map) |
|
<K,V> ImmutableMap<K,V> |
with() |
Same as
empty() . |
<K,V> ImmutableMap<K,V> |
with(K key,
V value) |
|
<K,V> ImmutableMap<K,V> |
with(K key1,
V value1,
K key2,
V value2) |
|
<K,V> ImmutableMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
|
<K,V> ImmutableMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
|
<K,V> ImmutableMap<K,V> |
withAll(java.util.Map<K,V> map) |
<K,V> ImmutableMap<K,V> empty()
<K,V> ImmutableMap<K,V> of()
empty()
.<K,V> ImmutableMap<K,V> with()
empty()
.<K,V> ImmutableMap<K,V> of(K key, V value)
with(Object, Object)
.<K,V> ImmutableMap<K,V> with(K key, V value)
<K,V> ImmutableMap<K,V> of(K key1, V value1, K key2, V value2)
with(Object, Object, Object, Object)
.<K,V> ImmutableMap<K,V> with(K key1, V value1, K key2, V value2)
<K,V> ImmutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
<K,V> ImmutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
<K,V> ImmutableMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
<K,V> ImmutableMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
<K,V> ImmutableMap<K,V> ofMap(java.util.Map<K,V> map)
<K,V> ImmutableMap<K,V> ofAll(java.util.Map<K,V> map)
withAll(Map)
.<K,V> ImmutableMap<K,V> withAll(java.util.Map<K,V> map)
Copyright © 2004–2018. All rights reserved.