Serializable
, Comparable<MutableShortFloatMapFactoryImpl>
, MutableShortFloatMapFactory
public enum MutableShortFloatMapFactoryImpl extends Enum<MutableShortFloatMapFactoryImpl> implements MutableShortFloatMapFactory
MutableShortFloatMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final MutableShortFloatMapFactoryImpl INSTANCE
public static MutableShortFloatMapFactoryImpl[] values()
for (MutableShortFloatMapFactoryImpl c : MutableShortFloatMapFactoryImpl.values()) System.out.println(c);
public static MutableShortFloatMapFactoryImpl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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(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–2019. All rights reserved.