java.io.Serializable
, java.lang.Comparable<MutableByteShortMapFactoryImpl>
, MutableByteShortMapFactory
public 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 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(java.lang.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–2020. All rights reserved.