java.io.Serializable
, java.lang.Comparable<MutableLongLongMapFactoryImpl>
, MutableLongLongMapFactory
public enum MutableLongLongMapFactoryImpl extends java.lang.Enum<MutableLongLongMapFactoryImpl> implements MutableLongLongMapFactory
MutableLongLongMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
MutableLongLongMap |
empty() |
|
<T> MutableLongLongMap |
from(java.lang.Iterable<T> iterable,
LongFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction) |
Creates an
MutableLongLongMap from an Iterable<T> by applying keyFunction and valueFunction . |
MutableLongLongMap |
of() |
Same as
MutableLongLongMapFactory.empty() . |
MutableLongLongMap |
ofAll(LongLongMap map) |
|
MutableLongLongMap |
ofInitialCapacity(int capacity) |
Same as
MutableLongLongMapFactory.empty() . |
static MutableLongLongMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MutableLongLongMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
MutableLongLongMap |
with() |
Same as
MutableLongLongMapFactory.empty() . |
MutableLongLongMap |
withAll(LongLongMap map) |
|
MutableLongLongMap |
withInitialCapacity(int capacity) |
Same as
MutableLongLongMapFactory.empty() . |
public static final MutableLongLongMapFactoryImpl INSTANCE
public static MutableLongLongMapFactoryImpl[] values()
for (MutableLongLongMapFactoryImpl c : MutableLongLongMapFactoryImpl.values()) System.out.println(c);
public static MutableLongLongMapFactoryImpl valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic MutableLongLongMap empty()
empty
in interface MutableLongLongMapFactory
public MutableLongLongMap of()
MutableLongLongMapFactory
MutableLongLongMapFactory.empty()
.of
in interface MutableLongLongMapFactory
public MutableLongLongMap with()
MutableLongLongMapFactory
MutableLongLongMapFactory.empty()
.with
in interface MutableLongLongMapFactory
public MutableLongLongMap ofInitialCapacity(int capacity)
MutableLongLongMapFactory
MutableLongLongMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableLongLongMapFactory
public MutableLongLongMap withInitialCapacity(int capacity)
MutableLongLongMapFactory
MutableLongLongMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableLongLongMapFactory
public MutableLongLongMap ofAll(LongLongMap map)
MutableLongLongMapFactory
ofAll
in interface MutableLongLongMapFactory
public MutableLongLongMap withAll(LongLongMap map)
withAll
in interface MutableLongLongMapFactory
public <T> MutableLongLongMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
MutableLongLongMapFactory
MutableLongLongMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableLongLongMapFactory
Copyright © 2004–2020. All rights reserved.