Interface ImmutableLongShortMapFactory
-
- All Known Implementing Classes:
ImmutableLongShortMapFactoryImpl
public interface ImmutableLongShortMapFactory
A factory which creates instances of typeImmutableLongShortMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableLongShortMap
empty()
<T> ImmutableLongShortMap
from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableLongShortMap
of()
Same asempty()
.ImmutableLongShortMap
of(long key, short value)
Same aswith(long, short)
.ImmutableLongShortMap
ofAll(LongShortMap map)
Same aswithAll(LongShortMap)
.ImmutableLongShortMap
with()
Same asempty()
.ImmutableLongShortMap
with(long key, short value)
ImmutableLongShortMap
withAll(LongShortMap map)
-
-
-
Method Detail
-
empty
ImmutableLongShortMap empty()
- Since:
- 6.0
-
of
ImmutableLongShortMap of()
Same asempty()
.
-
with
ImmutableLongShortMap with()
Same asempty()
.
-
of
ImmutableLongShortMap of(long key, short value)
Same aswith(long, short)
.
-
with
ImmutableLongShortMap with(long key, short value)
-
ofAll
ImmutableLongShortMap ofAll(LongShortMap map)
Same aswithAll(LongShortMap)
.
-
withAll
ImmutableLongShortMap withAll(LongShortMap map)
-
from
<T> ImmutableLongShortMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableLongShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-