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