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