public enum MutableObjectShortMapFactoryImpl extends Enum<MutableObjectShortMapFactoryImpl> implements MutableObjectShortMapFactory
MutableObjectShortMap.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<K> MutableObjectShortMap<K> |
empty() |
<T,K> MutableObjectShortMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction) |
<K> MutableObjectShortMap<K> |
of() |
<K> MutableObjectShortMap<K> |
ofAll(ObjectShortMap<? extends K> map) |
<K> MutableObjectShortMap<K> |
ofInitialCapacity(int capacity) |
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() |
<K> MutableObjectShortMap<K> |
withAll(ObjectShortMap<? extends K> map) |
<K> MutableObjectShortMap<K> |
withInitialCapacity(int capacity) |
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()
of in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> with()
with in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> ofInitialCapacity(int capacity)
ofInitialCapacity in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> withInitialCapacity(int capacity)
withInitialCapacity in interface MutableObjectShortMapFactorypublic <K> MutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)
ofAll 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)
from in interface MutableObjectShortMapFactoryCopyright © 2004–2019. All rights reserved.