Enum ImmutableByteObjectMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableByteObjectMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteObjectMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableByteObjectMapFactoryImpl>,java.lang.constant.Constable,ImmutableByteObjectMapFactory
public enum ImmutableByteObjectMapFactoryImpl extends Enum<ImmutableByteObjectMapFactoryImpl> implements ImmutableByteObjectMapFactory
ImmutableByteObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableByteObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description <V> ImmutableByteObjectMap<V>empty()<T, V> ImmutableByteObjectMap<V>from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Creates anImmutableByteObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<V> ImmutableByteObjectMap<V>of()<V> ImmutableByteObjectMap<V>of(byte key, V value)<V> ImmutableByteObjectMap<V>ofAll(ByteObjectMap<? extends V> map)static ImmutableByteObjectMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableByteObjectMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.<V> ImmutableByteObjectMap<V>with()<V> ImmutableByteObjectMap<V>with(byte key, V value)<V> ImmutableByteObjectMap<V>withAll(ByteObjectMap<? extends V> 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 interfaceImmutableByteObjectMapFactory
-
of
Description copied from interface:ImmutableByteObjectMapFactory- Specified by:
ofin interfaceImmutableByteObjectMapFactory
-
with
Description copied from interface:ImmutableByteObjectMapFactory- Specified by:
within interfaceImmutableByteObjectMapFactory
-
of
Description copied from interface:ImmutableByteObjectMapFactory- Specified by:
ofin interfaceImmutableByteObjectMapFactory
-
with
- Specified by:
within interfaceImmutableByteObjectMapFactory
-
ofAll
Description copied from interface:ImmutableByteObjectMapFactory- Specified by:
ofAllin interfaceImmutableByteObjectMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableByteObjectMapFactory
-
from
public <T, V> ImmutableByteObjectMap<V> from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)Description copied from interface:ImmutableByteObjectMapFactoryCreates anImmutableByteObjectMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableByteObjectMapFactory
-