public enum ImmutableShortByteMapFactoryImpl extends Enum<ImmutableShortByteMapFactoryImpl> implements ImmutableShortByteMapFactory
ImmutableShortByteMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ImmutableShortByteMap |
empty() |
<T> ImmutableShortByteMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
ImmutableShortByteMap |
of() |
ImmutableShortByteMap |
of(short key,
byte value) |
ImmutableShortByteMap |
ofAll(ShortByteMap map) |
static ImmutableShortByteMapFactoryImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImmutableShortByteMapFactoryImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortByteMap |
with() |
ImmutableShortByteMap |
with(short key,
byte value) |
ImmutableShortByteMap |
withAll(ShortByteMap map) |
public static final ImmutableShortByteMapFactoryImpl INSTANCE
public static ImmutableShortByteMapFactoryImpl[] values()
for (ImmutableShortByteMapFactoryImpl c : ImmutableShortByteMapFactoryImpl.values()) System.out.println(c);
public static ImmutableShortByteMapFactoryImpl 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 ImmutableShortByteMap empty()
empty in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap of()
of in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap with()
with in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap of(short key, byte value)
of in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap with(short key, byte value)
with in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap ofAll(ShortByteMap map)
ofAll in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap withAll(ShortByteMap map)
withAll in interface ImmutableShortByteMapFactorypublic <T> ImmutableShortByteMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
from in interface ImmutableShortByteMapFactoryCopyright © 2004–2020. All rights reserved.