Enum MutableLongObjectMapFactoryImpl
java.lang.Object
java.lang.Enum<MutableLongObjectMapFactoryImpl>
org.eclipse.collections.impl.map.mutable.primitive.MutableLongObjectMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableLongObjectMapFactoryImpl>,java.lang.constant.Constable,MutableLongObjectMapFactory
public enum MutableLongObjectMapFactoryImpl extends Enum<MutableLongObjectMapFactoryImpl> implements MutableLongObjectMapFactory
MutableLongObjectMapFactoryImpl is a factory implementation which creates instances of type
MutableLongObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description <V> MutableLongObjectMap<V>empty()<T, V> MutableLongObjectMap<V>from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anMutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> MutableLongObjectMap<V>of()Same asMutableLongObjectMapFactory.empty().<V> MutableLongObjectMap<V>ofAll(LongObjectMap<? extends V> map)<V> MutableLongObjectMap<V>ofInitialCapacity(int capacity)Same asMutableLongObjectMapFactory.empty().static MutableLongObjectMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableLongObjectMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.<V> MutableLongObjectMap<V>with()Same asMutableLongObjectMapFactory.empty().<V> MutableLongObjectMap<V>withAll(LongObjectMap<? extends V> map)<V> MutableLongObjectMap<V>withInitialCapacity(int capacity)Same asMutableLongObjectMapFactory.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 interfaceMutableLongObjectMapFactory
-
of
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty().- Specified by:
ofin interfaceMutableLongObjectMapFactory
-
with
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty().- Specified by:
within interfaceMutableLongObjectMapFactory
-
ofInitialCapacity
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
ofInitialCapacityin interfaceMutableLongObjectMapFactory
-
withInitialCapacity
Description copied from interface:MutableLongObjectMapFactorySame asMutableLongObjectMapFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableLongObjectMapFactory
-
ofAll
Description copied from interface:MutableLongObjectMapFactory- Specified by:
ofAllin interfaceMutableLongObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceMutableLongObjectMapFactory
-
from
public <T, V> MutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Description copied from interface:MutableLongObjectMapFactoryCreates anMutableLongObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceMutableLongObjectMapFactory
-