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