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