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