java.io.Serializable, java.lang.Comparable<ImmutableObjectLongMapFactoryImpl>, ImmutableObjectLongMapFactorypublic enum ImmutableObjectLongMapFactoryImpl extends java.lang.Enum<ImmutableObjectLongMapFactoryImpl> implements ImmutableObjectLongMapFactory
ImmutableObjectLongMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<K> ImmutableObjectLongMap<K> |
empty() |
|
<T,K> ImmutableObjectLongMap<K> |
from(java.lang.Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
LongFunction<? super T> valueFunction) |
Creates an
ImmutableObjectLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectLongMap<K> |
of() |
|
<K> ImmutableObjectLongMap<K> |
of(K key,
long value) |
|
<K> ImmutableObjectLongMap<K> |
ofAll(ObjectLongMap<? extends K> map) |
|
static ImmutableObjectLongMapFactoryImpl |
valueOf(java.lang.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(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 <K> ImmutableObjectLongMap<K> empty()
empty in interface ImmutableObjectLongMapFactorypublic <K> ImmutableObjectLongMap<K> of()
ImmutableObjectLongMapFactoryof in interface ImmutableObjectLongMapFactorypublic <K> ImmutableObjectLongMap<K> with()
ImmutableObjectLongMapFactorywith in interface ImmutableObjectLongMapFactorypublic <K> ImmutableObjectLongMap<K> of(K key, long value)
ImmutableObjectLongMapFactoryof in interface ImmutableObjectLongMapFactorypublic <K> ImmutableObjectLongMap<K> with(K key, long value)
with in interface ImmutableObjectLongMapFactorypublic <K> ImmutableObjectLongMap<K> ofAll(ObjectLongMap<? extends K> map)
ImmutableObjectLongMapFactoryofAll in interface ImmutableObjectLongMapFactorypublic <K> ImmutableObjectLongMap<K> withAll(ObjectLongMap<? extends K> map)
withAll in interface ImmutableObjectLongMapFactorypublic <T,K> ImmutableObjectLongMap<K> from(java.lang.Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)
ImmutableObjectLongMapFactoryImmutableObjectLongMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableObjectLongMapFactoryCopyright © 2004–2020. All rights reserved.