Class ImmutableIntIntMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableIntIntMapFactoryImpl
- All Implemented Interfaces:
ImmutableIntIntMapFactory
ImmutableIntIntMapFactoryImpl is a factory implementation which creates instances of type
ImmutableIntIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionempty()from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anImmutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.of()Same asImmutableIntIntMapFactory.empty().of(int key, int value) with()Same asImmutableIntIntMapFactory.empty().with(int key, int value)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableIntIntMapFactoryImpl
public ImmutableIntIntMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableIntIntMapFactory
-
of
Description copied from interface:ImmutableIntIntMapFactorySame asImmutableIntIntMapFactory.empty().- Specified by:
ofin interfaceImmutableIntIntMapFactory
-
with
Description copied from interface:ImmutableIntIntMapFactorySame asImmutableIntIntMapFactory.empty().- Specified by:
within interfaceImmutableIntIntMapFactory
-
of
Description copied from interface:ImmutableIntIntMapFactory- Specified by:
ofin interfaceImmutableIntIntMapFactory
-
with
- Specified by:
within interfaceImmutableIntIntMapFactory
-
ofAll
Description copied from interface:ImmutableIntIntMapFactory- Specified by:
ofAllin interfaceImmutableIntIntMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntIntMapFactory
-
from
public <T> ImmutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:ImmutableIntIntMapFactoryCreates anImmutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableIntIntMapFactory
-