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