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