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