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