java.io.Serializable, java.lang.Comparable<ImmutableShortObjectMapFactoryImpl>, ImmutableShortObjectMapFactorypublic enum ImmutableShortObjectMapFactoryImpl extends java.lang.Enum<ImmutableShortObjectMapFactoryImpl> implements ImmutableShortObjectMapFactory
ImmutableShortObjectMap.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableShortObjectMap<V> |
empty() |
|
<T,V> ImmutableShortObjectMap<V> |
from(java.lang.Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction) |
Creates an
ImmutableShortObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> ImmutableShortObjectMap<V> |
of() |
|
<V> ImmutableShortObjectMap<V> |
of(short key,
V value) |
|
<V> ImmutableShortObjectMap<V> |
ofAll(ShortObjectMap<? extends V> map) |
|
static ImmutableShortObjectMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableShortObjectMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<V> ImmutableShortObjectMap<V> |
with() |
|
<V> ImmutableShortObjectMap<V> |
with(short key,
V value) |
|
<V> ImmutableShortObjectMap<V> |
withAll(ShortObjectMap<? extends V> map) |
public static final ImmutableShortObjectMapFactoryImpl INSTANCE
public static ImmutableShortObjectMapFactoryImpl[] values()
for (ImmutableShortObjectMapFactoryImpl c : ImmutableShortObjectMapFactoryImpl.values()) System.out.println(c);
public static ImmutableShortObjectMapFactoryImpl valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <V> ImmutableShortObjectMap<V> empty()
empty in interface ImmutableShortObjectMapFactorypublic <V> ImmutableShortObjectMap<V> of()
ImmutableShortObjectMapFactoryof in interface ImmutableShortObjectMapFactorypublic <V> ImmutableShortObjectMap<V> with()
ImmutableShortObjectMapFactorywith in interface ImmutableShortObjectMapFactorypublic <V> ImmutableShortObjectMap<V> of(short key, V value)
ImmutableShortObjectMapFactoryof in interface ImmutableShortObjectMapFactorypublic <V> ImmutableShortObjectMap<V> with(short key, V value)
with in interface ImmutableShortObjectMapFactorypublic <V> ImmutableShortObjectMap<V> ofAll(ShortObjectMap<? extends V> map)
ImmutableShortObjectMapFactoryofAll in interface ImmutableShortObjectMapFactorypublic <V> ImmutableShortObjectMap<V> withAll(ShortObjectMap<? extends V> map)
withAll in interface ImmutableShortObjectMapFactorypublic <T,V> ImmutableShortObjectMap<V> from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
ImmutableShortObjectMapFactoryImmutableShortObjectMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableShortObjectMapFactoryCopyright © 2004–2020. All rights reserved.