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
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description MutableIntIntMapempty()<T> MutableIntIntMapfrom(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.MutableIntIntMapof()Same asMutableIntIntMapFactory.empty().MutableIntIntMapofAll(IntIntMap map)MutableIntIntMapofInitialCapacity(int capacity)Same asMutableIntIntMapFactory.empty().static MutableIntIntMapFactoryImplvalueOf(String name)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.MutableIntIntMapwith()Same asMutableIntIntMapFactory.empty().MutableIntIntMapwithAll(IntIntMap map)MutableIntIntMapwithInitialCapacity(int capacity)Same asMutableIntIntMapFactory.empty().Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
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:
emptyin interfaceMutableIntIntMapFactory
-
of
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty().- Specified by:
ofin interfaceMutableIntIntMapFactory
-
with
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty().- Specified by:
within interfaceMutableIntIntMapFactory
-
ofInitialCapacity
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableIntIntMapFactory
-
withInitialCapacity
Description copied from interface:MutableIntIntMapFactorySame asMutableIntIntMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntIntMapFactory
-
ofAll
Description copied from interface:MutableIntIntMapFactory- Specified by:
ofAllin interfaceMutableIntIntMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableIntIntMapFactory
-
from
public <T> MutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Description copied from interface:MutableIntIntMapFactoryCreates anMutableIntIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableIntIntMapFactory
-