Serializable, Comparable<MutableLongObjectMapFactoryImpl>, MutableLongObjectMapFactorypublic enum MutableLongObjectMapFactoryImpl extends Enum<MutableLongObjectMapFactoryImpl> implements MutableLongObjectMapFactory
MutableLongObjectMap.
This file was automatically generated from template file mutablePrimitiveObjectMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<V> MutableLongObjectMap<V> |
empty() |
|
<T,V> MutableLongObjectMap<V> |
from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction) |
Creates an
MutableLongObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> MutableLongObjectMap<V> |
of() |
Same as
MutableLongObjectMapFactory.empty(). |
<V> MutableLongObjectMap<V> |
ofAll(LongObjectMap<? extends V> map) |
|
<V> MutableLongObjectMap<V> |
ofInitialCapacity(int capacity) |
Same as
MutableLongObjectMapFactory.empty(). |
static MutableLongObjectMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableLongObjectMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<V> MutableLongObjectMap<V> |
with() |
Same as
MutableLongObjectMapFactory.empty(). |
<V> MutableLongObjectMap<V> |
withAll(LongObjectMap<? extends V> map) |
|
<V> MutableLongObjectMap<V> |
withInitialCapacity(int capacity) |
Same as
MutableLongObjectMapFactory.empty(). |
public static final MutableLongObjectMapFactoryImpl INSTANCE
public static MutableLongObjectMapFactoryImpl[] values()
for (MutableLongObjectMapFactoryImpl c : MutableLongObjectMapFactoryImpl.values()) System.out.println(c);
public static MutableLongObjectMapFactoryImpl 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> MutableLongObjectMap<V> empty()
empty in interface MutableLongObjectMapFactorypublic <V> MutableLongObjectMap<V> of()
MutableLongObjectMapFactoryMutableLongObjectMapFactory.empty().of in interface MutableLongObjectMapFactorypublic <V> MutableLongObjectMap<V> with()
MutableLongObjectMapFactoryMutableLongObjectMapFactory.empty().with in interface MutableLongObjectMapFactorypublic <V> MutableLongObjectMap<V> ofInitialCapacity(int capacity)
MutableLongObjectMapFactoryMutableLongObjectMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableLongObjectMapFactorypublic <V> MutableLongObjectMap<V> withInitialCapacity(int capacity)
MutableLongObjectMapFactoryMutableLongObjectMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableLongObjectMapFactorypublic <V> MutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
MutableLongObjectMapFactoryofAll in interface MutableLongObjectMapFactorypublic <V> MutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
withAll in interface MutableLongObjectMapFactorypublic <T,V> MutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
MutableLongObjectMapFactoryMutableLongObjectMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableLongObjectMapFactoryCopyright © 2004–2019. All rights reserved.