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