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