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