Serializable
, Comparable<MutableIntFloatMapFactoryImpl>
, MutableIntFloatMapFactory
public enum MutableIntFloatMapFactoryImpl extends Enum<MutableIntFloatMapFactoryImpl> implements MutableIntFloatMapFactory
MutableIntFloatMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final MutableIntFloatMapFactoryImpl INSTANCE
public static MutableIntFloatMapFactoryImpl[] values()
for (MutableIntFloatMapFactoryImpl c : MutableIntFloatMapFactoryImpl.values()) System.out.println(c);
public static MutableIntFloatMapFactoryImpl 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 MutableIntFloatMap empty()
empty
in interface MutableIntFloatMapFactory
public MutableIntFloatMap of()
MutableIntFloatMapFactory
MutableIntFloatMapFactory.empty()
.of
in interface MutableIntFloatMapFactory
public MutableIntFloatMap with()
MutableIntFloatMapFactory
MutableIntFloatMapFactory.empty()
.with
in interface MutableIntFloatMapFactory
public MutableIntFloatMap ofInitialCapacity(int capacity)
MutableIntFloatMapFactory
MutableIntFloatMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableIntFloatMapFactory
public MutableIntFloatMap withInitialCapacity(int capacity)
MutableIntFloatMapFactory
MutableIntFloatMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableIntFloatMapFactory
public MutableIntFloatMap ofAll(IntFloatMap map)
MutableIntFloatMapFactory
ofAll
in interface MutableIntFloatMapFactory
public MutableIntFloatMap withAll(IntFloatMap map)
withAll
in interface MutableIntFloatMapFactory
public <T> MutableIntFloatMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, FloatFunction<? super T> valueFunction)
MutableIntFloatMapFactory
MutableIntFloatMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableIntFloatMapFactory
Copyright © 2004–2019. All rights reserved.