Class ImmutableShortBooleanMapFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.map.immutable.primitive.ImmutableShortBooleanMapFactoryImpl
-
- All Implemented Interfaces:
ImmutableShortBooleanMapFactory
public class ImmutableShortBooleanMapFactoryImpl extends java.lang.Object implements ImmutableShortBooleanMapFactory
ImmutableShortBooleanMapFactoryImpl is a factory implementation which creates instances of typeImmutableShortBooleanMap
. This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableShortBooleanMapFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableShortBooleanMapFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableShortBooleanMap
empty()
<T> ImmutableShortBooleanMap
from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anImmutableShortBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.ImmutableShortBooleanMap
of()
ImmutableShortBooleanMap
of(short key, boolean value)
ImmutableShortBooleanMap
ofAll(ShortBooleanMap map)
ImmutableShortBooleanMap
with()
ImmutableShortBooleanMap
with(short key, boolean value)
ImmutableShortBooleanMap
withAll(ShortBooleanMap map)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableShortBooleanMapFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableShortBooleanMap empty()
- Specified by:
empty
in interfaceImmutableShortBooleanMapFactory
-
of
public ImmutableShortBooleanMap of()
Description copied from interface:ImmutableShortBooleanMapFactory
- Specified by:
of
in interfaceImmutableShortBooleanMapFactory
-
with
public ImmutableShortBooleanMap with()
Description copied from interface:ImmutableShortBooleanMapFactory
- Specified by:
with
in interfaceImmutableShortBooleanMapFactory
-
of
public ImmutableShortBooleanMap of(short key, boolean value)
Description copied from interface:ImmutableShortBooleanMapFactory
- Specified by:
of
in interfaceImmutableShortBooleanMapFactory
-
with
public ImmutableShortBooleanMap with(short key, boolean value)
- Specified by:
with
in interfaceImmutableShortBooleanMapFactory
-
ofAll
public ImmutableShortBooleanMap ofAll(ShortBooleanMap map)
Description copied from interface:ImmutableShortBooleanMapFactory
- Specified by:
ofAll
in interfaceImmutableShortBooleanMapFactory
-
withAll
public ImmutableShortBooleanMap withAll(ShortBooleanMap map)
- Specified by:
withAll
in interfaceImmutableShortBooleanMapFactory
-
from
public <T> ImmutableShortBooleanMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
Description copied from interface:ImmutableShortBooleanMapFactory
Creates anImmutableShortBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.- Specified by:
from
in interfaceImmutableShortBooleanMapFactory
-
-