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