java.io.Serializable, java.lang.Comparable<ImmutableIntObjectMapFactoryImpl>, ImmutableIntObjectMapFactorypublic enum ImmutableIntObjectMapFactoryImpl extends java.lang.Enum<ImmutableIntObjectMapFactoryImpl> implements ImmutableIntObjectMapFactory
ImmutableIntObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableIntObjectMap<V> |
empty() |
|
<T,V> ImmutableIntObjectMap<V> |
from(java.lang.Iterable<T> iterable,
IntFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction) |
Creates an
ImmutableIntObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> ImmutableIntObjectMap<V> |
of() |
Same as
ImmutableIntObjectMapFactory.empty(). |
<V> ImmutableIntObjectMap<V> |
of(int key,
V value) |
|
<V> ImmutableIntObjectMap<V> |
ofAll(IntObjectMap<? extends V> map) |
|
static ImmutableIntObjectMapFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableIntObjectMapFactory.empty(). |
<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(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> ImmutableIntObjectMap<V> empty()
empty in interface ImmutableIntObjectMapFactorypublic <V> ImmutableIntObjectMap<V> of()
ImmutableIntObjectMapFactoryImmutableIntObjectMapFactory.empty().of in interface ImmutableIntObjectMapFactorypublic <V> ImmutableIntObjectMap<V> with()
ImmutableIntObjectMapFactoryImmutableIntObjectMapFactory.empty().with in interface ImmutableIntObjectMapFactorypublic <V> ImmutableIntObjectMap<V> of(int key, V value)
ImmutableIntObjectMapFactoryof in interface ImmutableIntObjectMapFactorypublic <V> ImmutableIntObjectMap<V> with(int key, V value)
with in interface ImmutableIntObjectMapFactorypublic <V> ImmutableIntObjectMap<V> ofAll(IntObjectMap<? extends V> map)
ImmutableIntObjectMapFactoryofAll in interface ImmutableIntObjectMapFactorypublic <V> ImmutableIntObjectMap<V> withAll(IntObjectMap<? extends V> map)
withAll in interface ImmutableIntObjectMapFactorypublic <T,V> ImmutableIntObjectMap<V> from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
ImmutableIntObjectMapFactoryImmutableIntObjectMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableIntObjectMapFactoryCopyright © 2004–2020. All rights reserved.