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