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