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