Class ImmutableObjectIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableObjectIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableObjectIntMapFactory
public class ImmutableObjectIntMapFactoryImpl extends Object implements ImmutableObjectIntMapFactory
ImmutableObjectIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableObjectIntMap
. This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableObjectIntMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableObjectIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> ImmutableObjectIntMap<K>
empty()
<T,K>
ImmutableObjectIntMap<K>from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, IntFunction<? super T> valueFunction)
<K> ImmutableObjectIntMap<K>
of()
<K> ImmutableObjectIntMap<K>
of(K key, int value)
<K> ImmutableObjectIntMap<K>
ofAll(ObjectIntMap<? extends K> map)
<K> ImmutableObjectIntMap<K>
with()
<K> ImmutableObjectIntMap<K>
with(K key, int value)
<K> ImmutableObjectIntMap<K>
withAll(ObjectIntMap<? extends K> map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableObjectIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public <K> ImmutableObjectIntMap<K> empty()
- Specified by:
empty
in interfaceImmutableObjectIntMapFactory
-
of
public <K> ImmutableObjectIntMap<K> of()
- Specified by:
of
in interfaceImmutableObjectIntMapFactory
-
with
public <K> ImmutableObjectIntMap<K> with()
- Specified by:
with
in interfaceImmutableObjectIntMapFactory
-
of
public <K> ImmutableObjectIntMap<K> of(K key, int value)
- Specified by:
of
in interfaceImmutableObjectIntMapFactory
-
with
public <K> ImmutableObjectIntMap<K> with(K key, int value)
- Specified by:
with
in interfaceImmutableObjectIntMapFactory
-
ofAll
public <K> ImmutableObjectIntMap<K> ofAll(ObjectIntMap<? extends K> map)
- Specified by:
ofAll
in interfaceImmutableObjectIntMapFactory
-
withAll
public <K> ImmutableObjectIntMap<K> withAll(ObjectIntMap<? extends K> map)
- Specified by:
withAll
in interfaceImmutableObjectIntMapFactory
-
from
public <T,K> ImmutableObjectIntMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, IntFunction<? super T> valueFunction)
- Specified by:
from
in interfaceImmutableObjectIntMapFactory
-
-