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