Class ImmutableByteObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableByteObjectMapFactoryImpl
- All Implemented Interfaces:
ImmutableByteObjectMapFactory
public class ImmutableByteObjectMapFactoryImpl
extends Object
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> ImmutableByteObjectMap<V>
empty()
<T,
V> ImmutableByteObjectMap<V> from
(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 Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableByteObjectMapFactoryImpl
public ImmutableByteObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableByteObjectMapFactory
-
of
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
of
in interfaceImmutableByteObjectMapFactory
-
with
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
with
in interfaceImmutableByteObjectMapFactory
-
of
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
of
in interfaceImmutableByteObjectMapFactory
-
with
- Specified by:
with
in interfaceImmutableByteObjectMapFactory
-
ofAll
Description copied from interface:ImmutableByteObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableByteObjectMapFactory
-
withAll
- Specified by:
withAll
in 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:ImmutableByteObjectMapFactory
Creates anImmutableByteObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableByteObjectMapFactory
-