Enum ImmutableShortLongMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableShortLongMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortLongMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableShortLongMapFactoryImpl>,java.lang.constant.Constable,ImmutableShortLongMapFactory
public enum ImmutableShortLongMapFactoryImpl extends Enum<ImmutableShortLongMapFactoryImpl> implements ImmutableShortLongMapFactory
ImmutableShortLongMapFactoryImpl is a factory implementation which creates instances of type
ImmutableShortLongMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description ImmutableShortLongMapempty()<T> ImmutableShortLongMapfrom(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableShortLongMapof()Same asImmutableShortLongMapFactory.empty().ImmutableShortLongMapof(short key, long value)ImmutableShortLongMapofAll(ShortLongMap map)static ImmutableShortLongMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableShortLongMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableShortLongMapwith()Same asImmutableShortLongMapFactory.empty().ImmutableShortLongMapwith(short key, long value)ImmutableShortLongMapwithAll(ShortLongMap map)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 interfaceImmutableShortLongMapFactory
-
of
Description copied from interface:ImmutableShortLongMapFactorySame asImmutableShortLongMapFactory.empty().- Specified by:
ofin interfaceImmutableShortLongMapFactory
-
with
Description copied from interface:ImmutableShortLongMapFactorySame asImmutableShortLongMapFactory.empty().- Specified by:
within interfaceImmutableShortLongMapFactory
-
of
Description copied from interface:ImmutableShortLongMapFactory- Specified by:
ofin interfaceImmutableShortLongMapFactory
-
with
- Specified by:
within interfaceImmutableShortLongMapFactory
-
ofAll
Description copied from interface:ImmutableShortLongMapFactory- Specified by:
ofAllin interfaceImmutableShortLongMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableShortLongMapFactory
-
from
public <T> ImmutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Description copied from interface:ImmutableShortLongMapFactoryCreates anImmutableShortLongMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableShortLongMapFactory
-