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