Interface ImmutableObjectLongMapFactory
-
- All Known Implementing Classes:
ImmutableObjectLongMapFactoryImpl
public interface ImmutableObjectLongMapFactory
A factory which creates instances of typeImmutableObjectLongMap
. This file was automatically generated from template file immutableObjectPrimitiveMapFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K> ImmutableObjectLongMap<K>
empty()
<T,K>
ImmutableObjectLongMap<K>from(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableObjectLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectLongMap<K>
of()
Same asempty()
.<K> ImmutableObjectLongMap<K>
of(K key, long value)
Same aswith(Object, long)
.<K> ImmutableObjectLongMap<K>
ofAll(ObjectLongMap<? extends K> map)
Same aswithAll(ObjectLongMap)
.<K> ImmutableObjectLongMap<K>
with()
Same asempty()
.<K> ImmutableObjectLongMap<K>
with(K key, long value)
<K> ImmutableObjectLongMap<K>
withAll(ObjectLongMap<? extends K> map)
-
-
-
Method Detail
-
empty
<K> ImmutableObjectLongMap<K> empty()
- Since:
- 6.0
-
of
<K> ImmutableObjectLongMap<K> of()
Same asempty()
.
-
with
<K> ImmutableObjectLongMap<K> with()
Same asempty()
.
-
of
<K> ImmutableObjectLongMap<K> of(K key, long value)
Same aswith(Object, long)
.
-
with
<K> ImmutableObjectLongMap<K> with(K key, long value)
-
ofAll
<K> ImmutableObjectLongMap<K> ofAll(ObjectLongMap<? extends K> map)
Same aswithAll(ObjectLongMap)
.
-
withAll
<K> ImmutableObjectLongMap<K> withAll(ObjectLongMap<? extends K> map)
-
from
<T,K> ImmutableObjectLongMap<K> from(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableObjectLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-