public enum ImmutableBiMapFactoryImpl extends Enum<ImmutableBiMapFactoryImpl> implements ImmutableBiMapFactory
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<K,V> ImmutableBiMap<K,V> |
empty() |
<K,V> ImmutableBiMap<K,V> |
of() |
<K,V> ImmutableBiMap<K,V> |
of(K key,
V value) |
<K,V> ImmutableBiMap<K,V> |
of(K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableBiMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableBiMap<K,V> |
of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> ImmutableBiMap<K,V> |
ofAll(ImmutableMap<K,V> immutableMap) |
<K,V> ImmutableBiMap<K,V> |
ofAll(Map<K,V> map) |
<K,V> ImmutableBiMap<K,V> |
ofAll(MutableBiMap<K,V> biMap) |
static ImmutableBiMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableBiMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K,V> ImmutableBiMap<K,V> |
with() |
<K,V> ImmutableBiMap<K,V> |
with(K key,
V value) |
<K,V> ImmutableBiMap<K,V> |
with(K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableBiMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableBiMap<K,V> |
with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> ImmutableBiMap<K,V> |
withAll(ImmutableMap<K,V> immutableMap) |
<K,V> ImmutableBiMap<K,V> |
withAll(Map<K,V> map) |
<K,V> ImmutableBiMap<K,V> |
withAll(MutableBiMap<K,V> biMap) |
public static final ImmutableBiMapFactoryImpl INSTANCE
public static ImmutableBiMapFactoryImpl[] values()
for (ImmutableBiMapFactoryImpl c : ImmutableBiMapFactoryImpl.values()) System.out.println(c);
public static ImmutableBiMapFactoryImpl 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> ImmutableBiMap<K,V> empty()
empty in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> of()
of in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> with()
with in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> of(K key, V value)
of in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> with(K key, V value)
with in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2)
of in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2)
with in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
of in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
with in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
of in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
with in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> ofAll(Map<K,V> map)
ofAll in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> withAll(Map<K,V> map)
withAll in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> ofAll(MutableBiMap<K,V> biMap)
ofAll in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> withAll(MutableBiMap<K,V> biMap)
withAll in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> ofAll(ImmutableMap<K,V> immutableMap)
ofAll in interface ImmutableBiMapFactorypublic <K,V> ImmutableBiMap<K,V> withAll(ImmutableMap<K,V> immutableMap)
withAll in interface ImmutableBiMapFactoryCopyright © 2004–2017. All rights reserved.