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