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