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