Enum MutableIntIntMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableIntIntMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableIntIntMapFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableIntIntMapFactoryImpl>
,java.lang.constant.Constable
,MutableIntIntMapFactory
public enum MutableIntIntMapFactoryImpl
extends Enum<MutableIntIntMapFactoryImpl>
implements MutableIntIntMapFactory
MutableIntIntMapFactoryImpl is a factory implementation which creates instances of type
MutableIntIntMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionempty()
<T> MutableIntIntMap
from
(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Creates anMutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.of()
Same asMutableIntIntMapFactory.empty()
.ofInitialCapacity
(int capacity) Same asMutableIntIntMapFactory.empty()
.static MutableIntIntMapFactoryImpl
Returns the enum constant of this type with the specified name.static MutableIntIntMapFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.with()
Same asMutableIntIntMapFactory.empty()
.withInitialCapacity
(int capacity) Same asMutableIntIntMapFactory.empty()
.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
empty
- Specified by:
empty
in interfaceMutableIntIntMapFactory
-
of
Description copied from interface:MutableIntIntMapFactory
Same asMutableIntIntMapFactory.empty()
.- Specified by:
of
in interfaceMutableIntIntMapFactory
-
with
Description copied from interface:MutableIntIntMapFactory
Same asMutableIntIntMapFactory.empty()
.- Specified by:
with
in interfaceMutableIntIntMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntIntMapFactory
Same asMutableIntIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
ofInitialCapacity
in interfaceMutableIntIntMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntIntMapFactory
Same asMutableIntIntMapFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableIntIntMapFactory
-
ofAll
Description copied from interface:MutableIntIntMapFactory
- Specified by:
ofAll
in interfaceMutableIntIntMapFactory
-
withAll
- Specified by:
withAll
in interfaceMutableIntIntMapFactory
-
from
public <T> MutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction) Description copied from interface:MutableIntIntMapFactory
Creates anMutableIntIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceMutableIntIntMapFactory
-