java.io.Serializable, java.lang.Comparable<ImmutableLongIntMapFactoryImpl>, ImmutableLongIntMapFactorypublic enum ImmutableLongIntMapFactoryImpl extends java.lang.Enum<ImmutableLongIntMapFactoryImpl> implements ImmutableLongIntMapFactory
ImmutableLongIntMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableLongIntMap |
empty() |
|
<T> ImmutableLongIntMap |
from(java.lang.Iterable<T> iterable,
LongFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction) |
Creates an
ImmutableLongIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableLongIntMap |
of() |
Same as
ImmutableLongIntMapFactory.empty(). |
ImmutableLongIntMap |
of(long key,
int value) |
|
ImmutableLongIntMap |
ofAll(LongIntMap map) |
|
static ImmutableLongIntMapFactoryImpl |
valueOf(java.lang.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() |
Same as
ImmutableLongIntMapFactory.empty(). |
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(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 ImmutableLongIntMap empty()
empty in interface ImmutableLongIntMapFactorypublic ImmutableLongIntMap of()
ImmutableLongIntMapFactoryImmutableLongIntMapFactory.empty().of in interface ImmutableLongIntMapFactorypublic ImmutableLongIntMap with()
ImmutableLongIntMapFactoryImmutableLongIntMapFactory.empty().with in interface ImmutableLongIntMapFactorypublic ImmutableLongIntMap of(long key, int value)
ImmutableLongIntMapFactoryof in interface ImmutableLongIntMapFactorypublic ImmutableLongIntMap with(long key, int value)
with in interface ImmutableLongIntMapFactorypublic ImmutableLongIntMap ofAll(LongIntMap map)
ImmutableLongIntMapFactoryofAll in interface ImmutableLongIntMapFactorypublic ImmutableLongIntMap withAll(LongIntMap map)
withAll in interface ImmutableLongIntMapFactorypublic <T> ImmutableLongIntMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
ImmutableLongIntMapFactoryImmutableLongIntMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableLongIntMapFactoryCopyright © 2004–2020. All rights reserved.