Serializable, Comparable<ImmutableObjectShortMapFactoryImpl>, ImmutableObjectShortMapFactorypublic enum ImmutableObjectShortMapFactoryImpl extends Enum<ImmutableObjectShortMapFactoryImpl> implements ImmutableObjectShortMapFactory
ImmutableObjectShortMap.
This file was automatically generated from template file immutableObjectPrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<K> ImmutableObjectShortMap<K> |
empty() |
|
<T,K> ImmutableObjectShortMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction) |
Creates an
ImmutableObjectShortMap from an Iterable<T> by applying keyFunction and 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()
ImmutableObjectShortMapFactoryof in interface ImmutableObjectShortMapFactorypublic <K> ImmutableObjectShortMap<K> with()
ImmutableObjectShortMapFactorywith in interface ImmutableObjectShortMapFactorypublic <K> ImmutableObjectShortMap<K> of(K key, short value)
ImmutableObjectShortMapFactoryof in interface ImmutableObjectShortMapFactorypublic <K> ImmutableObjectShortMap<K> with(K key, short value)
with in interface ImmutableObjectShortMapFactorypublic <K> ImmutableObjectShortMap<K> ofAll(ObjectShortMap<? extends K> map)
ImmutableObjectShortMapFactoryofAll 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)
ImmutableObjectShortMapFactoryImmutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableObjectShortMapFactoryCopyright © 2004–2019. All rights reserved.