java.io.Serializable
, java.lang.Comparable<ImmutableLongLongMapFactoryImpl>
, ImmutableLongLongMapFactory
public 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 ImmutableLongLongMapFactory
public ImmutableLongLongMap of()
ImmutableLongLongMapFactory
ImmutableLongLongMapFactory.empty()
.of
in interface ImmutableLongLongMapFactory
public ImmutableLongLongMap with()
ImmutableLongLongMapFactory
ImmutableLongLongMapFactory.empty()
.with
in interface ImmutableLongLongMapFactory
public ImmutableLongLongMap of(long key, long value)
ImmutableLongLongMapFactory
of
in interface ImmutableLongLongMapFactory
public ImmutableLongLongMap with(long key, long value)
with
in interface ImmutableLongLongMapFactory
public ImmutableLongLongMap ofAll(LongLongMap map)
ImmutableLongLongMapFactory
ofAll
in interface ImmutableLongLongMapFactory
public ImmutableLongLongMap withAll(LongLongMap map)
withAll
in interface ImmutableLongLongMapFactory
public <T> ImmutableLongLongMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, LongFunction<? super T> valueFunction)
ImmutableLongLongMapFactory
ImmutableLongLongMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableLongLongMapFactory
Copyright © 2004–2020. All rights reserved.