java.io.Serializable
, java.lang.Comparable<MutableDoubleCharMapFactoryImpl>
, MutableDoubleCharMapFactory
public enum MutableDoubleCharMapFactoryImpl extends java.lang.Enum<MutableDoubleCharMapFactoryImpl> implements MutableDoubleCharMapFactory
MutableDoubleCharMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableDoubleCharMap |
empty() |
|
<T> MutableDoubleCharMap |
from(java.lang.Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction) |
Creates an
MutableDoubleCharMap from an Iterable<T> by applying keyFunction and valueFunction . |
MutableDoubleCharMap |
of() |
Same as
MutableDoubleCharMapFactory.empty() . |
MutableDoubleCharMap |
ofAll(DoubleCharMap map) |
|
MutableDoubleCharMap |
ofInitialCapacity(int capacity) |
Same as
MutableDoubleCharMapFactory.empty() . |
static MutableDoubleCharMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableDoubleCharMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableDoubleCharMap |
with() |
Same as
MutableDoubleCharMapFactory.empty() . |
MutableDoubleCharMap |
withAll(DoubleCharMap map) |
|
MutableDoubleCharMap |
withInitialCapacity(int capacity) |
Same as
MutableDoubleCharMapFactory.empty() . |
public static final MutableDoubleCharMapFactoryImpl INSTANCE
public static MutableDoubleCharMapFactoryImpl[] values()
for (MutableDoubleCharMapFactoryImpl c : MutableDoubleCharMapFactoryImpl.values()) System.out.println(c);
public static MutableDoubleCharMapFactoryImpl 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 MutableDoubleCharMap empty()
empty
in interface MutableDoubleCharMapFactory
public MutableDoubleCharMap of()
MutableDoubleCharMapFactory
MutableDoubleCharMapFactory.empty()
.of
in interface MutableDoubleCharMapFactory
public MutableDoubleCharMap with()
MutableDoubleCharMapFactory
MutableDoubleCharMapFactory.empty()
.with
in interface MutableDoubleCharMapFactory
public MutableDoubleCharMap ofInitialCapacity(int capacity)
MutableDoubleCharMapFactory
MutableDoubleCharMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableDoubleCharMapFactory
public MutableDoubleCharMap withInitialCapacity(int capacity)
MutableDoubleCharMapFactory
MutableDoubleCharMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableDoubleCharMapFactory
public MutableDoubleCharMap ofAll(DoubleCharMap map)
MutableDoubleCharMapFactory
ofAll
in interface MutableDoubleCharMapFactory
public MutableDoubleCharMap withAll(DoubleCharMap map)
withAll
in interface MutableDoubleCharMapFactory
public <T> MutableDoubleCharMap from(java.lang.Iterable<T> iterable, DoubleFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
MutableDoubleCharMapFactory
MutableDoubleCharMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableDoubleCharMapFactory
Copyright © 2004–2020. All rights reserved.