Enum ImmutableByteByteMapFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableByteByteMapFactoryImpl>
org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteByteMapFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableByteByteMapFactoryImpl>,java.lang.constant.Constable,ImmutableByteByteMapFactory
public enum ImmutableByteByteMapFactoryImpl extends Enum<ImmutableByteByteMapFactoryImpl> implements ImmutableByteByteMapFactory
ImmutableByteByteMapFactoryImpl is a factory implementation which creates instances of type
ImmutableByteByteMap.
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 ImmutableByteByteMapempty()<T> ImmutableByteByteMapfrom(Iterable<T> iterable, ByteFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)Creates anImmutableByteByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableByteByteMapof()Same asImmutableByteByteMapFactory.empty().ImmutableByteByteMapof(byte key, byte value)ImmutableByteByteMapofAll(ByteByteMap map)static ImmutableByteByteMapFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableByteByteMapFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableByteByteMapwith()Same asImmutableByteByteMapFactory.empty().ImmutableByteByteMapwith(byte key, byte value)ImmutableByteByteMapwithAll(ByteByteMap 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 interfaceImmutableByteByteMapFactory
-
of
Description copied from interface:ImmutableByteByteMapFactorySame asImmutableByteByteMapFactory.empty().- Specified by:
ofin interfaceImmutableByteByteMapFactory
-
with
Description copied from interface:ImmutableByteByteMapFactorySame asImmutableByteByteMapFactory.empty().- Specified by:
within interfaceImmutableByteByteMapFactory
-
of
Description copied from interface:ImmutableByteByteMapFactory- Specified by:
ofin interfaceImmutableByteByteMapFactory
-
with
- Specified by:
within interfaceImmutableByteByteMapFactory
-
ofAll
Description copied from interface:ImmutableByteByteMapFactory- Specified by:
ofAllin interfaceImmutableByteByteMapFactory
-
withAll
- Specified by:
withAllin interfaceImmutableByteByteMapFactory
-
from
public <T> ImmutableByteByteMap from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)Description copied from interface:ImmutableByteByteMapFactoryCreates anImmutableByteByteMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableByteByteMapFactory
-