ImmutableBiMapFactory
public enum ImmutableBiMapFactoryImpl extends java.lang.Enum<ImmutableBiMapFactoryImpl> implements ImmutableBiMapFactory
Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<K,V> ImmutableBiMap<K,V> |
empty() |
|
<K,V> ImmutableBiMap<K,V> |
of() |
Same as
ImmutableBiMapFactory.empty() . |
<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(java.util.Map<K,V> map) |
Same as
ImmutableBiMapFactory.withAll(Map) . |
<K,V> ImmutableBiMap<K,V> |
ofAll(MutableBiMap<K,V> biMap) |
|
<K,V> ImmutableBiMap<K,V> |
ofAll(ImmutableMap<K,V> immutableMap) |
|
static ImmutableBiMapFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableBiMapFactory.empty() . |
<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(java.util.Map<K,V> map) |
|
<K,V> ImmutableBiMap<K,V> |
withAll(MutableBiMap<K,V> biMap) |
|
<K,V> ImmutableBiMap<K,V> |
withAll(ImmutableMap<K,V> immutableMap) |
public static final ImmutableBiMapFactoryImpl INSTANCE
public static ImmutableBiMapFactoryImpl[] values()
for (ImmutableBiMapFactoryImpl c : ImmutableBiMapFactoryImpl.values()) System.out.println(c);
public static ImmutableBiMapFactoryImpl 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> ImmutableBiMap<K,V> empty()
empty
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> of()
ImmutableBiMapFactory
ImmutableBiMapFactory.empty()
.of
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> with()
ImmutableBiMapFactory
ImmutableBiMapFactory.empty()
.with
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> of(K key, V value)
ImmutableBiMapFactory
of
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> with(K key, V value)
with
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2)
ImmutableBiMapFactory
of
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2)
with
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
ImmutableBiMapFactory
of
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
with
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
ImmutableBiMapFactory
of
in interface ImmutableBiMapFactory
public <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 ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> ofAll(java.util.Map<K,V> map)
ImmutableBiMapFactory
ImmutableBiMapFactory.withAll(Map)
.ofAll
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> withAll(java.util.Map<K,V> map)
withAll
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> ofAll(MutableBiMap<K,V> biMap)
ofAll
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> withAll(MutableBiMap<K,V> biMap)
withAll
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> ofAll(ImmutableMap<K,V> immutableMap)
ofAll
in interface ImmutableBiMapFactory
public <K,V> ImmutableBiMap<K,V> withAll(ImmutableMap<K,V> immutableMap)
withAll
in interface ImmutableBiMapFactory
Copyright © 2004–2018. All rights reserved.