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