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