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