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