Serializable, Comparable<ImmutableShortByteMapFactoryImpl>, ImmutableShortByteMapFactorypublic enum ImmutableShortByteMapFactoryImpl extends Enum<ImmutableShortByteMapFactoryImpl> implements ImmutableShortByteMapFactory
ImmutableShortByteMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableShortByteMap |
empty() |
|
<T> ImmutableShortByteMap |
from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
Creates an
ImmutableShortByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableShortByteMap |
of() |
Same as
ImmutableShortByteMapFactory.empty(). |
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() |
Same as
ImmutableShortByteMapFactory.empty(). |
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()
ImmutableShortByteMapFactoryImmutableShortByteMapFactory.empty().of in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap with()
ImmutableShortByteMapFactoryImmutableShortByteMapFactory.empty().with in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap of(short key, byte value)
ImmutableShortByteMapFactoryof in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap with(short key, byte value)
with in interface ImmutableShortByteMapFactorypublic ImmutableShortByteMap ofAll(ShortByteMap map)
ImmutableShortByteMapFactoryofAll 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)
ImmutableShortByteMapFactoryImmutableShortByteMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableShortByteMapFactoryCopyright © 2004–2019. All rights reserved.