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