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