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