Interface ImmutableLongObjectMapFactory
- All Known Implementing Classes:
ImmutableLongObjectMapFactoryImpl
public interface ImmutableLongObjectMapFactory
A factory which creates instances of type
ImmutableLongObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactory.stg.- Since:
- 4.0.
-
Method Summary
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)
Creates anImmutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<V> ImmutableLongObjectMap<V>
of()
Same asempty()
.<V> ImmutableLongObjectMap<V>
of(long key, V value)
Same aswith(long, Object)
.<V> ImmutableLongObjectMap<V>
ofAll(LongObjectMap<? extends V> map)
Same aswithAll(LongObjectMap)
.<V> ImmutableLongObjectMap<V>
with()
Same asempty()
.<V> ImmutableLongObjectMap<V>
with(long key, V value)
<V> ImmutableLongObjectMap<V>
withAll(LongObjectMap<? extends V> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty()
. -
with
Same asempty()
. -
of
Same aswith(long, Object)
. -
with
-
ofAll
Same aswithAll(LongObjectMap)
. -
withAll
-
from
<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
.- Since:
- 10.0
-