java.io.Serializable
, java.lang.Comparable<MutableShortBooleanMapFactoryImpl>
, MutableShortBooleanMapFactory
public enum MutableShortBooleanMapFactoryImpl extends java.lang.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(java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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(java.lang.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–2020. All rights reserved.