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