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