java.io.Serializable
, java.lang.Comparable<ImmutableLongByteMapFactoryImpl>
, ImmutableLongByteMapFactory
public enum ImmutableLongByteMapFactoryImpl extends java.lang.Enum<ImmutableLongByteMapFactoryImpl> implements ImmutableLongByteMapFactory
ImmutableLongByteMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableLongByteMap |
empty() |
|
<T> ImmutableLongByteMap |
from(java.lang.Iterable<T> iterable,
LongFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
Creates an
ImmutableLongByteMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableLongByteMap |
of() |
Same as
ImmutableLongByteMapFactory.empty() . |
ImmutableLongByteMap |
of(long key,
byte value) |
|
ImmutableLongByteMap |
ofAll(LongByteMap map) |
|
static ImmutableLongByteMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableLongByteMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableLongByteMap |
with() |
Same as
ImmutableLongByteMapFactory.empty() . |
ImmutableLongByteMap |
with(long key,
byte value) |
|
ImmutableLongByteMap |
withAll(LongByteMap map) |
public static final ImmutableLongByteMapFactoryImpl INSTANCE
public static ImmutableLongByteMapFactoryImpl[] values()
for (ImmutableLongByteMapFactoryImpl c : ImmutableLongByteMapFactoryImpl.values()) System.out.println(c);
public static ImmutableLongByteMapFactoryImpl 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 ImmutableLongByteMap empty()
empty
in interface ImmutableLongByteMapFactory
public ImmutableLongByteMap of()
ImmutableLongByteMapFactory
ImmutableLongByteMapFactory.empty()
.of
in interface ImmutableLongByteMapFactory
public ImmutableLongByteMap with()
ImmutableLongByteMapFactory
ImmutableLongByteMapFactory.empty()
.with
in interface ImmutableLongByteMapFactory
public ImmutableLongByteMap of(long key, byte value)
ImmutableLongByteMapFactory
of
in interface ImmutableLongByteMapFactory
public ImmutableLongByteMap with(long key, byte value)
with
in interface ImmutableLongByteMapFactory
public ImmutableLongByteMap ofAll(LongByteMap map)
ImmutableLongByteMapFactory
ofAll
in interface ImmutableLongByteMapFactory
public ImmutableLongByteMap withAll(LongByteMap map)
withAll
in interface ImmutableLongByteMapFactory
public <T> ImmutableLongByteMap from(java.lang.Iterable<T> iterable, LongFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
ImmutableLongByteMapFactory
ImmutableLongByteMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableLongByteMapFactory
Copyright © 2004–2020. All rights reserved.