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