Serializable, Comparable<MutableObjectShortMapFactoryImpl>, MutableObjectShortMapFactorypublic enum MutableObjectShortMapFactoryImpl extends Enum<MutableObjectShortMapFactoryImpl> implements MutableObjectShortMapFactory
MutableObjectShortMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<K> MutableObjectShortMap<K> |
empty() |
|
<T,K> MutableObjectShortMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction) |
Creates an
MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectShortMap<K> |
of() |
Same as
MutableObjectShortMapFactory.empty(). |
<K> MutableObjectShortMap<K> |
ofAll(ObjectShortMap<? extends K> map) |
|
<K> MutableObjectShortMap<K> |
ofInitialCapacity(int capacity) |
Same as
MutableObjectShortMapFactory.empty(). |
static MutableObjectShortMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableObjectShortMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K> MutableObjectShortMap<K> |
with() |
Same as
MutableObjectShortMapFactory.empty(). |
<K> MutableObjectShortMap<K> |
withAll(ObjectShortMap<? extends K> map) |
|
<K> MutableObjectShortMap<K> |
withInitialCapacity(int capacity) |
Same as
MutableObjectShortMapFactory.empty(). |
public static final MutableObjectShortMapFactoryImpl INSTANCE
public static MutableObjectShortMapFactoryImpl[] values()
for (MutableObjectShortMapFactoryImpl c : MutableObjectShortMapFactoryImpl.values()) System.out.println(c);
public static MutableObjectShortMapFactoryImpl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <K> MutableObjectShortMap<K> empty()
empty in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> of()
MutableObjectShortMapFactoryMutableObjectShortMapFactory.empty().of in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> with()
MutableObjectShortMapFactoryMutableObjectShortMapFactory.empty().with in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> ofInitialCapacity(int capacity)
MutableObjectShortMapFactoryMutableObjectShortMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> withInitialCapacity(int capacity)
MutableObjectShortMapFactoryMutableObjectShortMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)
MutableObjectShortMapFactoryofAll in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> withAll(ObjectShortMap<? extends K> map)
withAll in interface MutableObjectShortMapFactorypublic <T,K> MutableObjectShortMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
MutableObjectShortMapFactoryMutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableObjectShortMapFactoryCopyright © 2004–2019. All rights reserved.