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