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