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