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