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