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