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