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