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