Top Fields Constructors Methods
org.eclipse.collections.impl.map.immutable

public Class ImmutableMapFactoryImpl

extends Object
implements ImmutableMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.ImmutableMapFactory
Annotations
@ServiceProvider:ImmutableMapFactory
Imports
java.util.Map, .Objects, org.eclipse.collections.api.factory.map.ImmutableMapFactory, org.eclipse.collections.api.map.ImmutableMap

Field Summary

Modifier and TypeField and Description
public static final ImmutableMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Same as with(Object, Object, Object, Object, Object, Object, Object, Object).

public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
ofMap(Map<? extends K, ? extends V> map)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.ofMap.

Deprecated use ofAll(Map) instead (inlineable)

public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
public <K, V> ImmutableMap<K, V>
with(K key1, V value1, K key2, V value2)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

public <K, V> ImmutableMap<K, V>
with(K key1, V value1, K key2, V value2, K key3, V value3)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

public <K, V> ImmutableMap<K, V>
with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

public <K, V> ImmutableMap<K, V>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ImmutableMapFactory INSTANCE

Constructor Detail

ImmutableMapFactoryImplback to summary
public ImmutableMapFactoryImpl()

Method Detail

emptyback to summary
public <K, V> ImmutableMap<K, V> empty()

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.empty.

Annotations
@Override
ofback to summary
public <K, V> ImmutableMap<K, V> of()

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Same as empty().

Annotations
@Override
ofback to summary
public <K, V> ImmutableMap<K, V> of(K key, V value)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Same as with(Object, Object).

Annotations
@Override
ofback to summary
public <K, V> ImmutableMap<K, V> of(K key1, V value1, K key2, V value2)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Same as with(Object, Object, Object, Object).

Annotations
@Override
ofback to summary
public <K, V> ImmutableMap<K, V> of(K key1, V value1, K key2, V value2, K key3, V value3)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Same as with(Object, Object, Object, Object, Object, Object).

Annotations
@Override
ofback to summary
public <K, V> ImmutableMap<K, V> of(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.of.

Same as with(Object, Object, Object, Object, Object, Object, Object, Object).

Annotations
@Override
ofAllback to summary
public <K, V> ImmutableMap<K, V> ofAll(Map<? extends K, ? extends V> map)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.ofAll.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.ofAll.

Same as withAll(Map).

Annotations
@Override
ofMapback to summary
public <K, V> ImmutableMap<K, V> ofMap(Map<? extends K, ? extends V> map)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.ofMap.

Deprecated

use ofAll(Map) instead (inlineable)

Annotations
@Override
@Deprecated
withback to summary
public <K, V> ImmutableMap<K, V> with()

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

Doc from org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

Same as empty().

Annotations
@Override
withback to summary
public <K, V> ImmutableMap<K, V> with(K key, V value)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

Annotations
@Override
withback to summary
public <K, V> ImmutableMap<K, V> with(K key1, V value1, K key2, V value2)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

Annotations
@Override
withback to summary
public <K, V> ImmutableMap<K, V> with(K key1, V value1, K key2, V value2, K key3, V value3)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

Annotations
@Override
withback to summary
public <K, V> ImmutableMap<K, V> with(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.with.

Annotations
@Override
withAllback to summary
public <K, V> ImmutableMap<K, V> withAll(Map<? extends K, ? extends V> map)

Implements org.eclipse.collections.api.factory.map.ImmutableMapFactory.withAll.

Annotations
@Override