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