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