Serializable
, Comparable<ImmutableShortShortMapFactoryImpl>
, ImmutableShortShortMapFactory
public enum ImmutableShortShortMapFactoryImpl extends 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(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(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(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 ImmutableShortShortMap empty()
empty
in interface ImmutableShortShortMapFactory
public ImmutableShortShortMap of()
ImmutableShortShortMapFactory
of
in interface ImmutableShortShortMapFactory
public ImmutableShortShortMap with()
ImmutableShortShortMapFactory
with
in interface ImmutableShortShortMapFactory
public ImmutableShortShortMap of(short key, short value)
ImmutableShortShortMapFactory
of
in interface ImmutableShortShortMapFactory
public ImmutableShortShortMap with(short key, short value)
with
in interface ImmutableShortShortMapFactory
public ImmutableShortShortMap ofAll(ShortShortMap map)
ImmutableShortShortMapFactory
ofAll
in interface ImmutableShortShortMapFactory
public ImmutableShortShortMap withAll(ShortShortMap map)
withAll
in interface ImmutableShortShortMapFactory
public <T> ImmutableShortShortMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
ImmutableShortShortMapFactory
ImmutableShortShortMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableShortShortMapFactory
Copyright © 2004–2019. All rights reserved.