ImmutableIntDoubleMapFactory
public enum ImmutableIntDoubleMapFactoryImpl extends java.lang.Enum<ImmutableIntDoubleMapFactoryImpl> implements ImmutableIntDoubleMapFactory
ImmutableIntDoubleMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableIntDoubleMap |
empty() |
|
ImmutableIntDoubleMap |
of() |
Same as
ImmutableIntDoubleMapFactory.empty() . |
ImmutableIntDoubleMap |
of(int key,
double value) |
|
ImmutableIntDoubleMap |
ofAll(IntDoubleMap map) |
|
static ImmutableIntDoubleMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntDoubleMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntDoubleMap |
with() |
Same as
ImmutableIntDoubleMapFactory.empty() . |
ImmutableIntDoubleMap |
with(int key,
double value) |
|
ImmutableIntDoubleMap |
withAll(IntDoubleMap map) |
public static final ImmutableIntDoubleMapFactoryImpl INSTANCE
public static ImmutableIntDoubleMapFactoryImpl[] values()
for (ImmutableIntDoubleMapFactoryImpl c : ImmutableIntDoubleMapFactoryImpl.values()) System.out.println(c);
public static ImmutableIntDoubleMapFactoryImpl 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 ImmutableIntDoubleMap empty()
empty
in interface ImmutableIntDoubleMapFactory
public ImmutableIntDoubleMap of()
ImmutableIntDoubleMapFactory
ImmutableIntDoubleMapFactory.empty()
.of
in interface ImmutableIntDoubleMapFactory
public ImmutableIntDoubleMap with()
ImmutableIntDoubleMapFactory
ImmutableIntDoubleMapFactory.empty()
.with
in interface ImmutableIntDoubleMapFactory
public ImmutableIntDoubleMap of(int key, double value)
ImmutableIntDoubleMapFactory
of
in interface ImmutableIntDoubleMapFactory
public ImmutableIntDoubleMap with(int key, double value)
with
in interface ImmutableIntDoubleMapFactory
public ImmutableIntDoubleMap ofAll(IntDoubleMap map)
ImmutableIntDoubleMapFactory
ofAll
in interface ImmutableIntDoubleMapFactory
public ImmutableIntDoubleMap withAll(IntDoubleMap map)
withAll
in interface ImmutableIntDoubleMapFactory
Copyright © 2004–2018. All rights reserved.