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