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