public enum FixedSizeMapFactoryImpl extends Enum<FixedSizeMapFactoryImpl> implements FixedSizeMapFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<K,V> FixedSizeMap<K,V> |
empty() |
<K,V> FixedSizeMap<K,V> |
of() |
<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) |
static FixedSizeMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FixedSizeMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K,V> FixedSizeMap<K,V> |
with() |
<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 FixedSizeMapFactoryImpl INSTANCE
public static FixedSizeMapFactoryImpl[] values()
for (FixedSizeMapFactoryImpl c : FixedSizeMapFactoryImpl.values()) System.out.println(c);
public static FixedSizeMapFactoryImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <K,V> FixedSizeMap<K,V> empty()
empty in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> of()
of in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> with()
with in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> of(K key, V value)
of in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> with(K key, V value)
with in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> of(K key1, V value1, K key2, V value2)
of in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> with(K key1, V value1, K key2, V value2)
with in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
of in interface FixedSizeMapFactorypublic <K,V> FixedSizeMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
with in interface FixedSizeMapFactoryCopyright © 2004–2017. All rights reserved.