Interface ImmutableShortLongMapFactory
- All Known Implementing Classes:
ImmutableShortLongMapFactoryImpl
public interface ImmutableShortLongMapFactory
A factory which creates instances of type
ImmutableShortLongMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description ImmutableShortLongMap
empty()
<T> ImmutableShortLongMap
from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableShortLongMap
of()
Same asempty()
.ImmutableShortLongMap
of(short key, long value)
Same aswith(short, long)
.ImmutableShortLongMap
ofAll(ShortLongMap map)
Same aswithAll(ShortLongMap)
.ImmutableShortLongMap
with()
Same asempty()
.ImmutableShortLongMap
with(short key, long value)
ImmutableShortLongMap
withAll(ShortLongMap map)
-
Method Details
-
empty
ImmutableShortLongMap empty()- Since:
- 6.0
-
of
Same asempty()
. -
with
ImmutableShortLongMap with()Same asempty()
. -
of
Same aswith(short, long)
. -
with
-
ofAll
Same aswithAll(ShortLongMap)
. -
withAll
-
from
<T> ImmutableShortLongMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-