Serializable
, Comparable<MutableLongObjectMapFactoryImpl>
, MutableLongObjectMapFactory
public 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 MutableLongObjectMapFactory
public <V> MutableLongObjectMap<V> of()
MutableLongObjectMapFactory
MutableLongObjectMapFactory.empty()
.of
in interface MutableLongObjectMapFactory
public <V> MutableLongObjectMap<V> with()
MutableLongObjectMapFactory
MutableLongObjectMapFactory.empty()
.with
in interface MutableLongObjectMapFactory
public <V> MutableLongObjectMap<V> ofInitialCapacity(int capacity)
MutableLongObjectMapFactory
MutableLongObjectMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableLongObjectMapFactory
public <V> MutableLongObjectMap<V> withInitialCapacity(int capacity)
MutableLongObjectMapFactory
MutableLongObjectMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableLongObjectMapFactory
public <V> MutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
MutableLongObjectMapFactory
ofAll
in interface MutableLongObjectMapFactory
public <V> MutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
withAll
in interface MutableLongObjectMapFactory
public <T,V> MutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
MutableLongObjectMapFactory
MutableLongObjectMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableLongObjectMapFactory
Copyright © 2004–2019. All rights reserved.