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