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 ImmutableLongObjectMapFactoryINSTANCE
-
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:
emptyin interfaceImmutableLongObjectMapFactory
-
of
public <V> ImmutableLongObjectMap<V> of()
- Specified by:
ofin interfaceImmutableLongObjectMapFactory
-
with
public <V> ImmutableLongObjectMap<V> with()
- Specified by:
within interfaceImmutableLongObjectMapFactory
-
of
public <V> ImmutableLongObjectMap<V> of(long key, V value)
- Specified by:
ofin interfaceImmutableLongObjectMapFactory
-
with
public <V> ImmutableLongObjectMap<V> with(long key, V value)
- Specified by:
within interfaceImmutableLongObjectMapFactory
-
ofAll
public <V> ImmutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
- Specified by:
ofAllin interfaceImmutableLongObjectMapFactory
-
withAll
public <V> ImmutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
- Specified by:
withAllin interfaceImmutableLongObjectMapFactory
-
from
public <T,V> ImmutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
- Specified by:
fromin interfaceImmutableLongObjectMapFactory
-
-