Top Description Fields Constructors Methods
org.eclipse.collections.impl.map.mutable.primitive

public Class MutableObjectShortMapFactoryImpl

extends Object
implements MutableObjectShortMapFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory
Annotations
@ServiceProvider:MutableObjectShortMapFactory
Imports
org.eclipse.collections.api.block.function.Function, org.eclipse.collections.api.block.function.primitive.ShortFunction, org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory, org.eclipse.collections.api.map.primitive.MutableObjectShortMap, .ObjectShortMap, org.eclipse.collections.impl.factory.primitive.ObjectShortMaps, org.eclipse.collections.impl.utility.Iterate

MutableObjectShortMapFactoryImpl is a factory implementation which creates instances of type MutableObjectShortMap. This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.
Since
6.0.

Field Summary

Modifier and TypeField and Description
public static final MutableObjectShortMapFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <K> MutableObjectShortMap<K>
public <T, K> MutableObjectShortMap<K>
from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, ShortFunction<? super T> valueFunction)

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.from.

Creates an MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction.

public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
of(K key1, short value1, K key2, short value2)

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

public <K> MutableObjectShortMap<K>
of(K key1, short value1, K key2, short value2, K key3, short value3)

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

public <K> MutableObjectShortMap<K>
of(K key1, short value1, K key2, short value2, K key3, short value3, K key4, short value4)

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
with(K key1, short value1, K key2, short value2)

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

public <K> MutableObjectShortMap<K>
with(K key1, short value1, K key2, short value2, K key3, short value3)

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

public <K> MutableObjectShortMap<K>
public <K> MutableObjectShortMap<K>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final MutableObjectShortMapFactory INSTANCE

Constructor Detail

MutableObjectShortMapFactoryImplback to summary
public MutableObjectShortMapFactoryImpl()

Method Detail

emptyback to summary
public <K> MutableObjectShortMap<K> empty()

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.empty.

Annotations
@Override
fromback to summary
public <T, K> MutableObjectShortMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, ShortFunction<? super T> valueFunction)

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.from.

Doc from org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.from.

Creates an MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction.

Annotations
@Override
ofback to summary
public <K> MutableObjectShortMap<K> of()

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

Doc from org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

Same as empty().

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.of.

Annotations
@Override
ofAllback to summary
public <K> MutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.ofAll.

Doc from org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.ofAll.

Same as withAll(ObjectShortMap).

Annotations
@Override
ofInitialCapacityback to summary
public <K> MutableObjectShortMap<K> ofInitialCapacity(int capacity)

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.ofInitialCapacity.

Doc from org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.ofInitialCapacity.

Same as empty(). but takes in an initial capacity

Annotations
@Override
withback to summary
public <K> MutableObjectShortMap<K> with()

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

Doc from org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

Same as empty().

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

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

Overrides default org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.with.

Annotations
@Override
withAllback to summary
public <K> MutableObjectShortMap<K> withAll(ObjectShortMap<? extends K> map)

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.withAll.

Annotations
@Override
withInitialCapacityback to summary
public <K> MutableObjectShortMap<K> withInitialCapacity(int capacity)

Implements org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.withInitialCapacity.

Doc from org.eclipse.collections.api.factory.map.primitive.MutableObjectShortMapFactory.withInitialCapacity.

Same as empty(). but takes in an initial capacity

Annotations
@Override