Class ImmutableObjectBooleanMapFactoryImpl
java.lang.Object
org.eclipse.collections.impl.map.immutable.primitive.ImmutableObjectBooleanMapFactoryImpl
- All Implemented Interfaces:
ImmutableObjectBooleanMapFactory
public class ImmutableObjectBooleanMapFactoryImpl
extends Object
implements ImmutableObjectBooleanMapFactory
ImmutableObjectBooleanMapFactoryImpl is a factory implementation which creates instances of type
ImmutableObjectBooleanMap
.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<K> ImmutableObjectBooleanMap<K>
empty()
<T,
K> ImmutableObjectBooleanMap<K> from
(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, BooleanFunction<? super T> valueFunction) Creates anImmutableObjectBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<K> ImmutableObjectBooleanMap<K>
of()
<K> ImmutableObjectBooleanMap<K>
of
(K key, boolean value) <K> ImmutableObjectBooleanMap<K>
ofAll
(ObjectBooleanMap<? extends K> map) <K> ImmutableObjectBooleanMap<K>
with()
<K> ImmutableObjectBooleanMap<K>
with
(K key, boolean value) <K> ImmutableObjectBooleanMap<K>
withAll
(ObjectBooleanMap<? extends K> map)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableObjectBooleanMapFactoryImpl
public ImmutableObjectBooleanMapFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableObjectBooleanMapFactory
-
of
Description copied from interface:ImmutableObjectBooleanMapFactory
- Specified by:
of
in interfaceImmutableObjectBooleanMapFactory
-
with
Description copied from interface:ImmutableObjectBooleanMapFactory
- Specified by:
with
in interfaceImmutableObjectBooleanMapFactory
-
of
Description copied from interface:ImmutableObjectBooleanMapFactory
- Specified by:
of
in interfaceImmutableObjectBooleanMapFactory
-
with
- Specified by:
with
in interfaceImmutableObjectBooleanMapFactory
-
ofAll
Description copied from interface:ImmutableObjectBooleanMapFactory
- Specified by:
ofAll
in interfaceImmutableObjectBooleanMapFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableObjectBooleanMapFactory
-
from
public <T,K> ImmutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T, ? extends K> keyFunction, BooleanFunction<? super T> valueFunction) Description copied from interface:ImmutableObjectBooleanMapFactory
Creates anImmutableObjectBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableObjectBooleanMapFactory
-