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