Class ImmutableLongObjectMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableLongObjectMapFactoryImpl
- All Implemented Interfaces:
ImmutableLongObjectMapFactory
public class ImmutableLongObjectMapFactoryImpl
extends Object
implements ImmutableLongObjectMapFactory
ImmutableLongObjectMapFactoryImpl is a factory implementation which creates instances of type
ImmutableLongObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> ImmutableLongObjectMap<V>
empty()
<T,
V> ImmutableLongObjectMap<V> from
(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Creates anImmutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableLongObjectMap<V>
of()
<V> ImmutableLongObjectMap<V>
of
(long key, V value) <V> ImmutableLongObjectMap<V>
ofAll
(LongObjectMap<? extends V> map) <V> ImmutableLongObjectMap<V>
with()
<V> ImmutableLongObjectMap<V>
with
(long key, V value) <V> ImmutableLongObjectMap<V>
withAll
(LongObjectMap<? extends V> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableLongObjectMapFactoryImpl
public ImmutableLongObjectMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableLongObjectMapFactory
-
of
Description copied from interface:ImmutableLongObjectMapFactory
- Specified by:
of
in interfaceImmutableLongObjectMapFactory
-
with
Description copied from interface:ImmutableLongObjectMapFactory
- Specified by:
with
in interfaceImmutableLongObjectMapFactory
-
of
Description copied from interface:ImmutableLongObjectMapFactory
- Specified by:
of
in interfaceImmutableLongObjectMapFactory
-
with
- Specified by:
with
in interfaceImmutableLongObjectMapFactory
-
ofAll
Description copied from interface:ImmutableLongObjectMapFactory
- Specified by:
ofAll
in interfaceImmutableLongObjectMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableLongObjectMapFactory
-
from
public <T,V> ImmutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T, ? extends V> valueFunction) Description copied from interface:ImmutableLongObjectMapFactory
Creates anImmutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableLongObjectMapFactory
-