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