Class ImmutableIntObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntObjectMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntObjectMapFactory
public class ImmutableIntObjectMapFactoryImpl
extends Object
implements ImmutableIntObjectMapFactory
ImmutableIntObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> ImmutableIntObjectMap<V>
empty()
<T,
V> ImmutableIntObjectMap<V> from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableIntObjectMap<V>
of()
Same asImmutableIntObjectMapFactory.empty()
.<V> ImmutableIntObjectMap<V>
of
(int key, V value) <V> ImmutableIntObjectMap<V>
ofAll
(IntObjectMap<? extends V> map) <V> ImmutableIntObjectMap<V>
with()
Same asImmutableIntObjectMapFactory.empty()
.<V> ImmutableIntObjectMap<V>
with
(int key, V value) <V> ImmutableIntObjectMap<V>
withAll
(IntObjectMap<? extends V> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntObjectMapFactoryImpl
public ImmutableIntObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableIntObjectMapFactory
-
of
Description copied from interface:ImmutableIntObjectMapFactory
Same asImmutableIntObjectMapFactory.empty()
.- Specified by:
of
in interfaceImmutableIntObjectMapFactory
-
with
Description copied from interface:ImmutableIntObjectMapFactory
Same asImmutableIntObjectMapFactory.empty()
.- Specified by:
with
in interfaceImmutableIntObjectMapFactory
-
of
Description copied from interface:ImmutableIntObjectMapFactory
- Specified by:
of
in interfaceImmutableIntObjectMapFactory
-
with
- Specified by:
with
in interfaceImmutableIntObjectMapFactory
-
ofAll
Description copied from interface:ImmutableIntObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableIntObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableIntObjectMapFactory
-
from
public <T,V> ImmutableIntObjectMap<V> from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:ImmutableIntObjectMapFactory
Creates anImmutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableIntObjectMapFactory
-