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