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