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