Serializable
, Comparable<ImmutableCharByteMapFactoryImpl>
, ImmutableCharByteMapFactory
public enum ImmutableCharByteMapFactoryImpl extends Enum<ImmutableCharByteMapFactoryImpl> implements ImmutableCharByteMapFactory
ImmutableCharByteMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableCharByteMap |
empty() |
|
<T> ImmutableCharByteMap |
from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
Creates an
ImmutableCharByteMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableCharByteMap |
of() |
Same as
ImmutableCharByteMapFactory.empty() . |
ImmutableCharByteMap |
of(char key,
byte value) |
|
ImmutableCharByteMap |
ofAll(CharByteMap map) |
|
static ImmutableCharByteMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableCharByteMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableCharByteMap |
with() |
Same as
ImmutableCharByteMapFactory.empty() . |
ImmutableCharByteMap |
with(char key,
byte value) |
|
ImmutableCharByteMap |
withAll(CharByteMap map) |
public static final ImmutableCharByteMapFactoryImpl INSTANCE
public static ImmutableCharByteMapFactoryImpl[] values()
for (ImmutableCharByteMapFactoryImpl c : ImmutableCharByteMapFactoryImpl.values()) System.out.println(c);
public static ImmutableCharByteMapFactoryImpl 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 ImmutableCharByteMap empty()
empty
in interface ImmutableCharByteMapFactory
public ImmutableCharByteMap of()
ImmutableCharByteMapFactory
ImmutableCharByteMapFactory.empty()
.of
in interface ImmutableCharByteMapFactory
public ImmutableCharByteMap with()
ImmutableCharByteMapFactory
ImmutableCharByteMapFactory.empty()
.with
in interface ImmutableCharByteMapFactory
public ImmutableCharByteMap of(char key, byte value)
ImmutableCharByteMapFactory
of
in interface ImmutableCharByteMapFactory
public ImmutableCharByteMap with(char key, byte value)
with
in interface ImmutableCharByteMapFactory
public ImmutableCharByteMap ofAll(CharByteMap map)
ImmutableCharByteMapFactory
ofAll
in interface ImmutableCharByteMapFactory
public ImmutableCharByteMap withAll(CharByteMap map)
withAll
in interface ImmutableCharByteMapFactory
public <T> ImmutableCharByteMap from(Iterable<T> iterable, CharFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
ImmutableCharByteMapFactory
ImmutableCharByteMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableCharByteMapFactory
Copyright © 2004–2019. All rights reserved.