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