FixedSizeMapFactory
public enum FixedSizeMapFactoryImpl extends java.lang.Enum<FixedSizeMapFactoryImpl> implements FixedSizeMapFactory
Enum Constant | Description |
---|---|
INSTANCE |
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) |
|
static FixedSizeMapFactoryImpl |
valueOf(java.lang.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() |
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 FixedSizeMapFactoryImpl INSTANCE
public static FixedSizeMapFactoryImpl[] values()
for (FixedSizeMapFactoryImpl c : FixedSizeMapFactoryImpl.values()) System.out.println(c);
public static FixedSizeMapFactoryImpl valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic <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–2018. All rights reserved.