Serializable
, Comparable<MutableShortBooleanMapFactoryImpl>
, MutableShortBooleanMapFactory
public enum MutableShortBooleanMapFactoryImpl extends Enum<MutableShortBooleanMapFactoryImpl> implements MutableShortBooleanMapFactory
MutableShortBooleanMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableShortBooleanMap |
empty() |
|
<T> MutableShortBooleanMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction) |
Creates an
MutableShortBooleanMap from an Iterable<T> by applying keyFunction and valueFunction . |
MutableShortBooleanMap |
of() |
|
MutableShortBooleanMap |
ofAll(ShortBooleanMap map) |
|
MutableShortBooleanMap |
ofInitialCapacity(int capacity) |
|
static MutableShortBooleanMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableShortBooleanMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableShortBooleanMap |
with() |
|
MutableShortBooleanMap |
withAll(ShortBooleanMap map) |
|
MutableShortBooleanMap |
withInitialCapacity(int capacity) |
public static final MutableShortBooleanMapFactoryImpl INSTANCE
public static MutableShortBooleanMapFactoryImpl[] values()
for (MutableShortBooleanMapFactoryImpl c : MutableShortBooleanMapFactoryImpl.values()) System.out.println(c);
public static MutableShortBooleanMapFactoryImpl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MutableShortBooleanMap empty()
empty
in interface MutableShortBooleanMapFactory
public MutableShortBooleanMap of()
MutableShortBooleanMapFactory
of
in interface MutableShortBooleanMapFactory
public MutableShortBooleanMap with()
MutableShortBooleanMapFactory
with
in interface MutableShortBooleanMapFactory
public MutableShortBooleanMap ofInitialCapacity(int capacity)
MutableShortBooleanMapFactory
MutableShortBooleanMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableShortBooleanMapFactory
public MutableShortBooleanMap withInitialCapacity(int capacity)
MutableShortBooleanMapFactory
MutableShortBooleanMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableShortBooleanMapFactory
public MutableShortBooleanMap ofAll(ShortBooleanMap map)
MutableShortBooleanMapFactory
ofAll
in interface MutableShortBooleanMapFactory
public MutableShortBooleanMap withAll(ShortBooleanMap map)
withAll
in interface MutableShortBooleanMapFactory
public <T> MutableShortBooleanMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
MutableShortBooleanMapFactory
MutableShortBooleanMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableShortBooleanMapFactory
Copyright © 2004–2019. All rights reserved.