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