java.io.Serializable, java.lang.Comparable<ImmutableShortShortMapFactoryImpl>, ImmutableShortShortMapFactorypublic enum ImmutableShortShortMapFactoryImpl extends java.lang.Enum<ImmutableShortShortMapFactoryImpl> implements ImmutableShortShortMapFactory
ImmutableShortShortMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableShortShortMap |
empty() |
|
<T> ImmutableShortShortMap |
from(java.lang.Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction) |
Creates an
ImmutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableShortShortMap |
of() |
|
ImmutableShortShortMap |
of(short key,
short value) |
|
ImmutableShortShortMap |
ofAll(ShortShortMap map) |
|
static ImmutableShortShortMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableShortShortMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableShortShortMap |
with() |
|
ImmutableShortShortMap |
with(short key,
short value) |
|
ImmutableShortShortMap |
withAll(ShortShortMap map) |
public static final ImmutableShortShortMapFactoryImpl INSTANCE
public static ImmutableShortShortMapFactoryImpl[] values()
for (ImmutableShortShortMapFactoryImpl c : ImmutableShortShortMapFactoryImpl.values()) System.out.println(c);
public static ImmutableShortShortMapFactoryImpl 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 ImmutableShortShortMap empty()
empty in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap of()
ImmutableShortShortMapFactoryof in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap with()
ImmutableShortShortMapFactorywith in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap of(short key, short value)
ImmutableShortShortMapFactoryof in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap with(short key, short value)
with in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap ofAll(ShortShortMap map)
ImmutableShortShortMapFactoryofAll in interface ImmutableShortShortMapFactorypublic ImmutableShortShortMap withAll(ShortShortMap map)
withAll in interface ImmutableShortShortMapFactorypublic <T> ImmutableShortShortMap from(java.lang.Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
ImmutableShortShortMapFactoryImmutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableShortShortMapFactoryCopyright © 2004–2020. All rights reserved.