Serializable
, Comparable<ImmutableIntShortMapFactoryImpl>
, ImmutableIntShortMapFactory
public enum ImmutableIntShortMapFactoryImpl extends Enum<ImmutableIntShortMapFactoryImpl> implements ImmutableIntShortMapFactory
ImmutableIntShortMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableIntShortMap |
empty() |
|
<T> ImmutableIntShortMap |
from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction) |
Creates an
ImmutableIntShortMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableIntShortMap |
of() |
Same as
ImmutableIntShortMapFactory.empty() . |
ImmutableIntShortMap |
of(int key,
short value) |
|
ImmutableIntShortMap |
ofAll(IntShortMap map) |
|
static ImmutableIntShortMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntShortMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntShortMap |
with() |
Same as
ImmutableIntShortMapFactory.empty() . |
ImmutableIntShortMap |
with(int key,
short value) |
|
ImmutableIntShortMap |
withAll(IntShortMap map) |
public static final ImmutableIntShortMapFactoryImpl INSTANCE
public static ImmutableIntShortMapFactoryImpl[] values()
for (ImmutableIntShortMapFactoryImpl c : ImmutableIntShortMapFactoryImpl.values()) System.out.println(c);
public static ImmutableIntShortMapFactoryImpl 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 ImmutableIntShortMap empty()
empty
in interface ImmutableIntShortMapFactory
public ImmutableIntShortMap of()
ImmutableIntShortMapFactory
ImmutableIntShortMapFactory.empty()
.of
in interface ImmutableIntShortMapFactory
public ImmutableIntShortMap with()
ImmutableIntShortMapFactory
ImmutableIntShortMapFactory.empty()
.with
in interface ImmutableIntShortMapFactory
public ImmutableIntShortMap of(int key, short value)
ImmutableIntShortMapFactory
of
in interface ImmutableIntShortMapFactory
public ImmutableIntShortMap with(int key, short value)
with
in interface ImmutableIntShortMapFactory
public ImmutableIntShortMap ofAll(IntShortMap map)
ImmutableIntShortMapFactory
ofAll
in interface ImmutableIntShortMapFactory
public ImmutableIntShortMap withAll(IntShortMap map)
withAll
in interface ImmutableIntShortMapFactory
public <T> ImmutableIntShortMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, ShortFunction<? super T> valueFunction)
ImmutableIntShortMapFactory
ImmutableIntShortMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableIntShortMapFactory
Copyright © 2004–2019. All rights reserved.