@Immutable public class FixedSizeMapFactoryImpl extends Object implements FixedSizeMapFactory
Constructor and Description |
---|
FixedSizeMapFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
<K,V> FixedSizeMap<K,V> |
empty() |
<K,V> FixedSizeMap<K,V> |
of()
Same as
FixedSizeMapFactory.empty() . |
<K,V> FixedSizeMap<K,V> |
of(K key,
V value)
|
<K,V> FixedSizeMap<K,V> |
of(K key1,
V value1,
K key2,
V value2)
|
<K,V> FixedSizeMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3)
|
<K,V> FixedSizeMap<K,V> |
with()
Same as
FixedSizeMapFactory.empty() . |
<K,V> FixedSizeMap<K,V> |
with(K key,
V value) |
<K,V> FixedSizeMap<K,V> |
with(K key1,
V value1,
K key2,
V value2) |
<K,V> FixedSizeMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
public <K,V> FixedSizeMap<K,V> empty()
empty
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> of()
FixedSizeMapFactory
FixedSizeMapFactory.empty()
.of
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> with()
FixedSizeMapFactory
FixedSizeMapFactory.empty()
.with
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> of(K key, V value)
FixedSizeMapFactory
of
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> with(K key, V value)
with
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> of(K key1, V value1, K key2, V value2)
FixedSizeMapFactory
of
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> with(K key1, V value1, K key2, V value2)
with
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
FixedSizeMapFactory
of
in interface FixedSizeMapFactory
public <K,V> FixedSizeMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
with
in interface FixedSizeMapFactory
Copyright © 2004–2016. All rights reserved.