java.io.Serializable, java.lang.Comparable<ImmutableIntIntMapFactoryImpl>, ImmutableIntIntMapFactorypublic enum ImmutableIntIntMapFactoryImpl extends java.lang.Enum<ImmutableIntIntMapFactoryImpl> implements ImmutableIntIntMapFactory
ImmutableIntIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableIntIntMap |
empty() |
|
<T> ImmutableIntIntMap |
from(java.lang.Iterable<T> iterable,
IntFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction) |
Creates an
ImmutableIntIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableIntIntMap |
of() |
Same as
ImmutableIntIntMapFactory.empty(). |
ImmutableIntIntMap |
of(int key,
int value) |
|
ImmutableIntIntMap |
ofAll(IntIntMap map) |
|
static ImmutableIntIntMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntIntMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntIntMap |
with() |
Same as
ImmutableIntIntMapFactory.empty(). |
ImmutableIntIntMap |
with(int key,
int value) |
|
ImmutableIntIntMap |
withAll(IntIntMap map) |
public static final ImmutableIntIntMapFactoryImpl INSTANCE
public static ImmutableIntIntMapFactoryImpl[] values()
for (ImmutableIntIntMapFactoryImpl c : ImmutableIntIntMapFactoryImpl.values()) System.out.println(c);
public static ImmutableIntIntMapFactoryImpl 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 ImmutableIntIntMap empty()
empty in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap of()
ImmutableIntIntMapFactoryImmutableIntIntMapFactory.empty().of in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap with()
ImmutableIntIntMapFactoryImmutableIntIntMapFactory.empty().with in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap of(int key, int value)
ImmutableIntIntMapFactoryof in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap with(int key, int value)
with in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap ofAll(IntIntMap map)
ImmutableIntIntMapFactoryofAll in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap withAll(IntIntMap map)
withAll in interface ImmutableIntIntMapFactorypublic <T> ImmutableIntIntMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
ImmutableIntIntMapFactoryImmutableIntIntMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableIntIntMapFactoryCopyright © 2004–2020. All rights reserved.