public enum MutableShortObjectMapFactoryImpl extends Enum<MutableShortObjectMapFactoryImpl> implements MutableShortObjectMapFactory
MutableShortObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableShortObjectMap<V> |
empty() |
<T,V> MutableShortObjectMap<V> |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction) |
<V> MutableShortObjectMap<V> |
of() |
<V> MutableShortObjectMap<V> |
ofAll(ShortObjectMap<? extends V> map) |
<V> MutableShortObjectMap<V> |
ofInitialCapacity(int capacity) |
static MutableShortObjectMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MutableShortObjectMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<V> MutableShortObjectMap<V> |
with() |
<V> MutableShortObjectMap<V> |
withAll(ShortObjectMap<? extends V> map) |
<V> MutableShortObjectMap<V> |
withInitialCapacity(int capacity) |
public static final MutableShortObjectMapFactoryImpl INSTANCE
public static MutableShortObjectMapFactoryImpl[] values()
for (MutableShortObjectMapFactoryImpl c : MutableShortObjectMapFactoryImpl.values()) System.out.println(c);
public static MutableShortObjectMapFactoryImpl 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 <V> MutableShortObjectMap<V> empty()
empty in interface MutableShortObjectMapFactorypublic <V> MutableShortObjectMap<V> of()
of in interface MutableShortObjectMapFactorypublic <V> MutableShortObjectMap<V> with()
with in interface MutableShortObjectMapFactorypublic <V> MutableShortObjectMap<V> ofInitialCapacity(int capacity)
ofInitialCapacity in interface MutableShortObjectMapFactorypublic <V> MutableShortObjectMap<V> withInitialCapacity(int capacity)
withInitialCapacity in interface MutableShortObjectMapFactorypublic <V> MutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map)
ofAll in interface MutableShortObjectMapFactorypublic <V> MutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)
withAll in interface MutableShortObjectMapFactorypublic <T,V> MutableShortObjectMap<V> from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
from in interface MutableShortObjectMapFactoryCopyright © 2004–2020. All rights reserved.