Serializable, Comparable<MutableObjectByteMapFactoryImpl>, MutableObjectByteMapFactorypublic 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 MutableObjectByteMapFactorypublic <K> MutableObjectByteMap<K> of()
MutableObjectByteMapFactoryMutableObjectByteMapFactory.empty().of in interface MutableObjectByteMapFactorypublic <K> MutableObjectByteMap<K> with()
MutableObjectByteMapFactoryMutableObjectByteMapFactory.empty().with in interface MutableObjectByteMapFactorypublic <K> MutableObjectByteMap<K> ofInitialCapacity(int capacity)
MutableObjectByteMapFactoryMutableObjectByteMapFactory.empty(). but takes in an initial capacityofInitialCapacity in interface MutableObjectByteMapFactorypublic <K> MutableObjectByteMap<K> withInitialCapacity(int capacity)
MutableObjectByteMapFactoryMutableObjectByteMapFactory.empty(). but takes in an initial capacitywithInitialCapacity in interface MutableObjectByteMapFactorypublic <K> MutableObjectByteMap<K> ofAll(ObjectByteMap<? extends K> map)
MutableObjectByteMapFactoryofAll in interface MutableObjectByteMapFactorypublic <K> MutableObjectByteMap<K> withAll(ObjectByteMap<? extends K> map)
withAll in interface MutableObjectByteMapFactorypublic <T,K> MutableObjectByteMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ByteFunction<? super T> valueFunction)
MutableObjectByteMapFactoryMutableObjectByteMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface MutableObjectByteMapFactoryCopyright © 2004–2019. All rights reserved.