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