FixedSizeMapFactory
public class FixedSizeMapFactoryImpl extends java.lang.Object implements FixedSizeMapFactory
Modifier and Type | Field | Description |
---|---|---|
static FixedSizeMapFactory |
INSTANCE |
Constructor | Description |
---|---|
FixedSizeMapFactoryImpl() |
Modifier and Type | Method | 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 static final FixedSizeMapFactory INSTANCE
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–2020. All rights reserved.