Serializable
, Comparable<MutableFloatShortMapFactoryImpl>
, MutableFloatShortMapFactory
public enum MutableFloatShortMapFactoryImpl extends Enum<MutableFloatShortMapFactoryImpl> implements MutableFloatShortMapFactory
MutableFloatShortMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final MutableFloatShortMapFactoryImpl INSTANCE
public static MutableFloatShortMapFactoryImpl[] values()
for (MutableFloatShortMapFactoryImpl c : MutableFloatShortMapFactoryImpl.values()) System.out.println(c);
public static MutableFloatShortMapFactoryImpl 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 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(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–2019. All rights reserved.