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