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