public enum ImmutableIntIntMapFactoryImpl extends Enum<ImmutableIntIntMapFactoryImpl> implements ImmutableIntIntMapFactory
ImmutableIntIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableIntIntMap |
empty() |
<T> ImmutableIntIntMap |
from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction) |
ImmutableIntIntMap |
of() |
ImmutableIntIntMap |
of(int key,
int value) |
ImmutableIntIntMap |
ofAll(IntIntMap map) |
static ImmutableIntIntMapFactoryImpl |
valueOf(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() |
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(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 ImmutableIntIntMap empty()
empty in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap of()
of in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap with()
with in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap of(int key, int value)
of in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap with(int key, int value)
with in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap ofAll(IntIntMap map)
ofAll in interface ImmutableIntIntMapFactorypublic ImmutableIntIntMap withAll(IntIntMap map)
withAll in interface ImmutableIntIntMapFactorypublic <T> ImmutableIntIntMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
from in interface ImmutableIntIntMapFactoryCopyright © 2004–2020. All rights reserved.