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 typeImmutableLongObjectMap
. This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableLongObjectMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableLongObjectMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> ImmutableLongObjectMap<V>
empty()
<T,V>
ImmutableLongObjectMap<V>from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
<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 Detail
-
INSTANCE
public static final ImmutableLongObjectMapFactory INSTANCE
-
-
Method Detail
-
empty
public <V> ImmutableLongObjectMap<V> empty()
- Specified by:
empty
in interfaceImmutableLongObjectMapFactory
-
of
public <V> ImmutableLongObjectMap<V> of()
- Specified by:
of
in interfaceImmutableLongObjectMapFactory
-
with
public <V> ImmutableLongObjectMap<V> with()
- Specified by:
with
in interfaceImmutableLongObjectMapFactory
-
of
public <V> ImmutableLongObjectMap<V> of(long key, V value)
- Specified by:
of
in interfaceImmutableLongObjectMapFactory
-
with
public <V> ImmutableLongObjectMap<V> with(long key, V value)
- Specified by:
with
in interfaceImmutableLongObjectMapFactory
-
ofAll
public <V> ImmutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
- Specified by:
ofAll
in interfaceImmutableLongObjectMapFactory
-
withAll
public <V> ImmutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
- 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)
- Specified by:
from
in interfaceImmutableLongObjectMapFactory
-
-