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