Serializable
, Comparable<ImmutableLongObjectMapFactoryImpl>
, ImmutableLongObjectMapFactory
public enum ImmutableLongObjectMapFactoryImpl extends Enum<ImmutableLongObjectMapFactoryImpl> implements ImmutableLongObjectMapFactory
ImmutableLongObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableLongObjectMap<V> |
empty() |
|
<T,V> ImmutableLongObjectMap<V> |
from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction) |
Creates an
ImmutableLongObjectMap from an Iterable<T> by applying keyFunction and 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 ImmutableLongObjectMapFactory
public <V> ImmutableLongObjectMap<V> of()
ImmutableLongObjectMapFactory
of
in interface ImmutableLongObjectMapFactory
public <V> ImmutableLongObjectMap<V> with()
ImmutableLongObjectMapFactory
with
in interface ImmutableLongObjectMapFactory
public <V> ImmutableLongObjectMap<V> of(long key, V value)
ImmutableLongObjectMapFactory
of
in interface ImmutableLongObjectMapFactory
public <V> ImmutableLongObjectMap<V> with(long key, V value)
with
in interface ImmutableLongObjectMapFactory
public <V> ImmutableLongObjectMap<V> ofAll(LongObjectMap<? extends V> map)
ImmutableLongObjectMapFactory
ofAll
in interface ImmutableLongObjectMapFactory
public <V> ImmutableLongObjectMap<V> withAll(LongObjectMap<? extends V> map)
withAll
in interface ImmutableLongObjectMapFactory
public <T,V> ImmutableLongObjectMap<V> from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
ImmutableLongObjectMapFactory
ImmutableLongObjectMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableLongObjectMapFactory
Copyright © 2004–2019. All rights reserved.