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