java.io.Serializable, java.lang.Comparable<ImmutableCharObjectMapFactoryImpl>, ImmutableCharObjectMapFactorypublic enum ImmutableCharObjectMapFactoryImpl extends java.lang.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(java.lang.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(java.lang.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(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 <V> ImmutableCharObjectMap<V> empty()
empty in interface ImmutableCharObjectMapFactorypublic <V> ImmutableCharObjectMap<V> of()
ImmutableCharObjectMapFactoryof in interface ImmutableCharObjectMapFactorypublic <V> ImmutableCharObjectMap<V> with()
ImmutableCharObjectMapFactorywith in interface ImmutableCharObjectMapFactorypublic <V> ImmutableCharObjectMap<V> of(char key, V value)
ImmutableCharObjectMapFactoryof in interface ImmutableCharObjectMapFactorypublic <V> ImmutableCharObjectMap<V> with(char key, V value)
with in interface ImmutableCharObjectMapFactorypublic <V> ImmutableCharObjectMap<V> ofAll(CharObjectMap<? extends V> map)
ImmutableCharObjectMapFactoryofAll in interface ImmutableCharObjectMapFactorypublic <V> ImmutableCharObjectMap<V> withAll(CharObjectMap<? extends V> map)
withAll in interface ImmutableCharObjectMapFactorypublic <T,V> ImmutableCharObjectMap<V> from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
ImmutableCharObjectMapFactoryImmutableCharObjectMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableCharObjectMapFactoryCopyright © 2004–2020. All rights reserved.