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