public enum ImmutableObjectIntMapFactoryImpl extends Enum<ImmutableObjectIntMapFactoryImpl> implements ImmutableObjectIntMapFactory
ImmutableObjectIntMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<K> ImmutableObjectIntMap<K> |
empty() |
<T,K> ImmutableObjectIntMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
IntFunction<? super T> valueFunction) |
<K> ImmutableObjectIntMap<K> |
of() |
<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() |
<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()
of in interface ImmutableObjectIntMapFactorypublic <K> ImmutableObjectIntMap<K> with()
with in interface ImmutableObjectIntMapFactorypublic <K> ImmutableObjectIntMap<K> of(K key, int value)
of in interface ImmutableObjectIntMapFactorypublic <K> ImmutableObjectIntMap<K> with(K key, int value)
with in interface ImmutableObjectIntMapFactorypublic <K> ImmutableObjectIntMap<K> ofAll(ObjectIntMap<? extends K> map)
ofAll 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)
from in interface ImmutableObjectIntMapFactoryCopyright © 2004–2021. All rights reserved.