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