java.io.Serializable, java.lang.Comparable<MutableByteShortMapFactoryImpl>, MutableByteShortMapFactorypublic enum MutableByteShortMapFactoryImpl extends java.lang.Enum<MutableByteShortMapFactoryImpl> implements MutableByteShortMapFactory
MutableByteShortMap.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
MutableByteShortMap |
empty() |
|
<T> MutableByteShortMap |
from(java.lang.Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction) |
Creates an
MutableByteShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableByteShortMap |
of() |
Same as
MutableByteShortMapFactory.empty(). |
MutableByteShortMap |
ofAll(ByteShortMap map) |
|
MutableByteShortMap |
ofInitialCapacity(int capacity) |
Same as
MutableByteShortMapFactory.empty(). |
static MutableByteShortMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableByteShortMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableByteShortMap |
with() |
Same as
MutableByteShortMapFactory.empty(). |
MutableByteShortMap |
withAll(ByteShortMap map) |
|
MutableByteShortMap |
withInitialCapacity(int capacity) |
Same as
MutableByteShortMapFactory.empty(). |
public static final MutableByteShortMapFactoryImpl INSTANCE
public static MutableByteShortMapFactoryImpl[] values()
for (MutableByteShortMapFactoryImpl c : MutableByteShortMapFactoryImpl.values()) System.out.println(c);
public static MutableByteShortMapFactoryImpl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MutableByteShortMap empty()
empty in interface MutableByteShortMapFactorypublic MutableByteShortMap of()
MutableByteShortMapFactoryMutableByteShortMapFactory.empty().of in interface MutableByteShortMapFactorypublic MutableByteShortMap with()
MutableByteShortMapFactoryMutableByteShortMapFactory.empty().with in interface MutableByteShortMapFactorypublic MutableByteShortMap ofInitialCapacity(int capacity)
MutableByteShortMapFactoryMutableByteShortMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableByteShortMapFactorypublic MutableByteShortMap withInitialCapacity(int capacity)
MutableByteShortMapFactoryMutableByteShortMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableByteShortMapFactorypublic MutableByteShortMap ofAll(ByteShortMap map)
MutableByteShortMapFactoryofAll in interface MutableByteShortMapFactorypublic MutableByteShortMap withAll(ByteShortMap map)
withAll in interface MutableByteShortMapFactorypublic <T> MutableByteShortMap from(java.lang.Iterable<T> iterable, ByteFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
MutableByteShortMapFactoryMutableByteShortMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableByteShortMapFactoryCopyright © 2004–2020. All rights reserved.