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