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 type
ImmutableObjectIntMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectIntMap<K>
empty()
<T,
K> ImmutableObjectIntMap<K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableObjectIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectIntMap<K>
of()
Same asImmutableObjectIntMapFactory.empty()
.<K> ImmutableObjectIntMap<K>
of
(K key, int value) <K> ImmutableObjectIntMap<K>
ofAll
(ObjectIntMap<? extends K> map) <K> ImmutableObjectIntMap<K>
with()
Same asImmutableObjectIntMapFactory.empty()
.<K> ImmutableObjectIntMap<K>
with
(K key, int value) <K> ImmutableObjectIntMap<K>
withAll
(ObjectIntMap<? extends K> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableObjectIntMapFactoryImpl
public ImmutableObjectIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableObjectIntMapFactory
-
of
Description copied from interface:ImmutableObjectIntMapFactory
Same asImmutableObjectIntMapFactory.empty()
.- Specified by:
of
in interfaceImmutableObjectIntMapFactory
-
with
Description copied from interface:ImmutableObjectIntMapFactory
Same asImmutableObjectIntMapFactory.empty()
.- Specified by:
with
in interfaceImmutableObjectIntMapFactory
-
of
Description copied from interface:ImmutableObjectIntMapFactory
- Specified by:
of
in interfaceImmutableObjectIntMapFactory
-
with
- Specified by:
with
in interfaceImmutableObjectIntMapFactory
-
ofAll
Description copied from interface:ImmutableObjectIntMapFactory
- Specified by:
ofAll
in interfaceImmutableObjectIntMapFactory
-
withAll
- 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) Description copied from interface:ImmutableObjectIntMapFactory
Creates anImmutableObjectIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableObjectIntMapFactory
-