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