Class ImmutableByteIntMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteIntMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableByteIntMapFactory
public class ImmutableByteIntMapFactoryImpl extends java.lang.Object implements ImmutableByteIntMapFactory
ImmutableByteIntMapFactoryImpl is a factory implementation which creates instances of typeImmutableByteIntMap. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableByteIntMapFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteIntMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteIntMapempty()<T> ImmutableByteIntMapfrom(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)Creates anImmutableByteIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.ImmutableByteIntMapof()Same asImmutableByteIntMapFactory.empty().ImmutableByteIntMapof(byte key, int value)ImmutableByteIntMapofAll(ByteIntMap map)ImmutableByteIntMapwith()Same asImmutableByteIntMapFactory.empty().ImmutableByteIntMapwith(byte key, int value)ImmutableByteIntMapwithAll(ByteIntMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteIntMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableByteIntMap empty()
- Specified by:
emptyin interfaceImmutableByteIntMapFactory
-
of
public ImmutableByteIntMap of()
Description copied from interface:ImmutableByteIntMapFactorySame asImmutableByteIntMapFactory.empty().- Specified by:
ofin interfaceImmutableByteIntMapFactory
-
with
public ImmutableByteIntMap with()
Description copied from interface:ImmutableByteIntMapFactorySame asImmutableByteIntMapFactory.empty().- Specified by:
within interfaceImmutableByteIntMapFactory
-
of
public ImmutableByteIntMap of(byte key, int value)
Description copied from interface:ImmutableByteIntMapFactory- Specified by:
ofin interfaceImmutableByteIntMapFactory
-
with
public ImmutableByteIntMap with(byte key, int value)
- Specified by:
within interfaceImmutableByteIntMapFactory
-
ofAll
public ImmutableByteIntMap ofAll(ByteIntMap map)
Description copied from interface:ImmutableByteIntMapFactory- Specified by:
ofAllin interfaceImmutableByteIntMapFactory
-
withAll
public ImmutableByteIntMap withAll(ByteIntMap map)
- Specified by:
withAllin interfaceImmutableByteIntMapFactory
-
from
public <T> ImmutableByteIntMap from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
Description copied from interface:ImmutableByteIntMapFactoryCreates anImmutableByteIntMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Specified by:
fromin interfaceImmutableByteIntMapFactory
-
-