Class ImmutableBiMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bimap.immutable.ImmutableBiMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableBiMapFactory
public class ImmutableBiMapFactoryImpl extends java.lang.Object implements ImmutableBiMapFactory
-
-
Field Summary
Fields Modifier and Type Field Description private static ImmutableHashBiMap<?,?>
EMPTY_INSTANCE
static ImmutableBiMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableBiMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
ImmutableBiMap<K,V>empty()
<K,V>
ImmutableBiMap<K,V>of()
Same asImmutableBiMapFactory.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 asImmutableBiMapFactory.withAll(Map)
.<K,V>
ImmutableBiMap<K,V>ofAll(MutableBiMap<K,V> biMap)
<K,V>
ImmutableBiMap<K,V>ofAll(ImmutableMap<K,V> immutableMap)
<K,V>
ImmutableBiMap<K,V>with()
Same asImmutableBiMapFactory.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)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableBiMapFactory INSTANCE
-
EMPTY_INSTANCE
private static final ImmutableHashBiMap<?,?> EMPTY_INSTANCE
-
-
Method Detail
-
empty
public <K,V> ImmutableBiMap<K,V> empty()
- Specified by:
empty
in interfaceImmutableBiMapFactory
-
of
public <K,V> ImmutableBiMap<K,V> of()
Description copied from interface:ImmutableBiMapFactory
Same asImmutableBiMapFactory.empty()
.- Specified by:
of
in interfaceImmutableBiMapFactory
-
with
public <K,V> ImmutableBiMap<K,V> with()
Description copied from interface:ImmutableBiMapFactory
Same asImmutableBiMapFactory.empty()
.- Specified by:
with
in interfaceImmutableBiMapFactory
-
of
public <K,V> ImmutableBiMap<K,V> of(K key, V value)
Description copied from interface:ImmutableBiMapFactory
- Specified by:
of
in interfaceImmutableBiMapFactory
-
with
public <K,V> ImmutableBiMap<K,V> with(K key, V value)
- Specified by:
with
in interfaceImmutableBiMapFactory
-
of
public <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2)
Description copied from interface:ImmutableBiMapFactory
- Specified by:
of
in interfaceImmutableBiMapFactory
-
with
public <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2)
- Specified by:
with
in interfaceImmutableBiMapFactory
-
of
public <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3)
Description copied from interface:ImmutableBiMapFactory
- Specified by:
of
in interfaceImmutableBiMapFactory
-
with
public <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3)
- Specified by:
with
in interfaceImmutableBiMapFactory
-
of
public <K,V> ImmutableBiMap<K,V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
Description copied from interface:ImmutableBiMapFactory
- Specified by:
of
in interfaceImmutableBiMapFactory
-
with
public <K,V> ImmutableBiMap<K,V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
- Specified by:
with
in interfaceImmutableBiMapFactory
-
ofAll
public <K,V> ImmutableBiMap<K,V> ofAll(java.util.Map<K,V> map)
Description copied from interface:ImmutableBiMapFactory
Same asImmutableBiMapFactory.withAll(Map)
.- Specified by:
ofAll
in interfaceImmutableBiMapFactory
-
withAll
public <K,V> ImmutableBiMap<K,V> withAll(java.util.Map<K,V> map)
- Specified by:
withAll
in interfaceImmutableBiMapFactory
-
ofAll
public <K,V> ImmutableBiMap<K,V> ofAll(MutableBiMap<K,V> biMap)
- Specified by:
ofAll
in interfaceImmutableBiMapFactory
-
withAll
public <K,V> ImmutableBiMap<K,V> withAll(MutableBiMap<K,V> biMap)
- Specified by:
withAll
in interfaceImmutableBiMapFactory
-
ofAll
public <K,V> ImmutableBiMap<K,V> ofAll(ImmutableMap<K,V> immutableMap)
- Specified by:
ofAll
in interfaceImmutableBiMapFactory
-
withAll
public <K,V> ImmutableBiMap<K,V> withAll(ImmutableMap<K,V> immutableMap)
- Specified by:
withAll
in interfaceImmutableBiMapFactory
-
-