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