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