java.io.Serializable
, java.lang.Comparable<MutableShortByteMapFactoryImpl>
, MutableShortByteMapFactory
public enum MutableShortByteMapFactoryImpl extends java.lang.Enum<MutableShortByteMapFactoryImpl> implements MutableShortByteMapFactory
MutableShortByteMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableShortByteMap |
empty() |
|
<T> MutableShortByteMap |
from(java.lang.Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
Creates an
MutableShortByteMap from an Iterable<T> by applying keyFunction and valueFunction . |
MutableShortByteMap |
of() |
Same as
MutableShortByteMapFactory.empty() . |
MutableShortByteMap |
ofAll(ShortByteMap map) |
|
MutableShortByteMap |
ofInitialCapacity(int capacity) |
Same as
MutableShortByteMapFactory.empty() . |
static MutableShortByteMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableShortByteMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableShortByteMap |
with() |
Same as
MutableShortByteMapFactory.empty() . |
MutableShortByteMap |
withAll(ShortByteMap map) |
|
MutableShortByteMap |
withInitialCapacity(int capacity) |
Same as
MutableShortByteMapFactory.empty() . |
public static final MutableShortByteMapFactoryImpl INSTANCE
public static MutableShortByteMapFactoryImpl[] values()
for (MutableShortByteMapFactoryImpl c : MutableShortByteMapFactoryImpl.values()) System.out.println(c);
public static MutableShortByteMapFactoryImpl 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 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(java.lang.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–2020. All rights reserved.