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