Class ImmutableByteObjectMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteObjectMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableByteObjectMapFactory
public class ImmutableByteObjectMapFactoryImpl extends java.lang.Object implements ImmutableByteObjectMapFactory
ImmutableByteObjectMapFactoryImpl is a factory implementation which creates instances of typeImmutableByteObjectMap
. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableByteObjectMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableByteObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> ImmutableByteObjectMap<V>
empty()
<T,V>
ImmutableByteObjectMap<V>from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableByteObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableByteObjectMap<V>
of()
<V> ImmutableByteObjectMap<V>
of(byte key, V value)
<V> ImmutableByteObjectMap<V>
ofAll(ByteObjectMap<? extends V> map)
<V> ImmutableByteObjectMap<V>
with()
<V> ImmutableByteObjectMap<V>
with(byte key, V value)
<V> ImmutableByteObjectMap<V>
withAll(ByteObjectMap<? extends V> map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableByteObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> ImmutableByteObjectMap<V> empty()
- Specified by:
empty
in interfaceImmutableByteObjectMapFactory
-
of
public <V> ImmutableByteObjectMap<V> of()
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
of
in interfaceImmutableByteObjectMapFactory
-
with
public <V> ImmutableByteObjectMap<V> with()
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
with
in interfaceImmutableByteObjectMapFactory
-
of
public <V> ImmutableByteObjectMap<V> of(byte key, V value)
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
of
in interfaceImmutableByteObjectMapFactory
-
with
public <V> ImmutableByteObjectMap<V> with(byte key, V value)
- Specified by:
with
in interfaceImmutableByteObjectMapFactory
-
ofAll
public <V> ImmutableByteObjectMap<V> ofAll(ByteObjectMap<? extends V> map)
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableByteObjectMapFactory
-
withAll
public <V> ImmutableByteObjectMap<V> withAll(ByteObjectMap<? extends V> map)
- Specified by:
withAll
in interfaceImmutableByteObjectMapFactory
-
from
public <T,V> ImmutableByteObjectMap<V> from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Description copied from interface:ImmutableByteObjectMapFactory
Creates anImmutableByteObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableByteObjectMapFactory
-
-