Interface ImmutableObjectBooleanMapFactory
- All Known Implementing Classes:
ImmutableObjectBooleanMapFactoryImpl
public interface ImmutableObjectBooleanMapFactory
A factory which creates instances of type
ImmutableObjectBooleanMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactory.stg.- Since:
- 4.0.
-
Method Summary
Modifier and Type Method Description <K> ImmutableObjectBooleanMap<K>empty()<T, K> ImmutableObjectBooleanMap<K>from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)Creates anImmutableObjectBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.<K> ImmutableObjectBooleanMap<K>of()Same asempty().<K> ImmutableObjectBooleanMap<K>of(K key, boolean value)Same aswith(Object, boolean).<K> ImmutableObjectBooleanMap<K>ofAll(ObjectBooleanMap<? extends K> map)Same aswithAll(ObjectBooleanMap).<K> ImmutableObjectBooleanMap<K>with()Same asempty().<K> ImmutableObjectBooleanMap<K>with(K key, boolean value)<K> ImmutableObjectBooleanMap<K>withAll(ObjectBooleanMap<? extends K> map)
-
Method Details
-
empty
- Since:
- 6.0
-
of
Same asempty(). -
with
Same asempty(). -
of
Same aswith(Object, boolean). -
with
-
ofAll
Same aswithAll(ObjectBooleanMap). -
withAll
-
from
<T, K> ImmutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)Creates anImmutableObjectBooleanMapfrom anIterable<T>by applyingkeyFunctionandvalueFunction.- Since:
- 10.0
-