Interface ImmutableShortLongMapFactory
-
- All Known Implementing Classes:
ImmutableShortLongMapFactoryImpl
public interface ImmutableShortLongMapFactory
A factory which creates instances of typeImmutableShortLongMap
. 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 ImmutableShortLongMap
empty()
<T> ImmutableShortLongMap
from(java.lang.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 Detail
-
empty
ImmutableShortLongMap empty()
- Since:
- 6.0
-
of
ImmutableShortLongMap of()
Same asempty()
.
-
with
ImmutableShortLongMap with()
Same asempty()
.
-
of
ImmutableShortLongMap of(short key, long value)
Same aswith(short, long)
.
-
with
ImmutableShortLongMap with(short key, long value)
-
ofAll
ImmutableShortLongMap ofAll(ShortLongMap map)
Same aswithAll(ShortLongMap)
.
-
withAll
ImmutableShortLongMap withAll(ShortLongMap map)
-
from
<T> ImmutableShortLongMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableShortLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Since:
- 10.0
-
-