Serializable
, Comparable<ImmutableIntCharMapFactoryImpl>
, ImmutableIntCharMapFactory
public enum ImmutableIntCharMapFactoryImpl extends Enum<ImmutableIntCharMapFactoryImpl> implements ImmutableIntCharMapFactory
ImmutableIntCharMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableIntCharMap |
empty() |
|
<T> ImmutableIntCharMap |
from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction) |
Creates an
ImmutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableIntCharMap |
of() |
Same as
ImmutableIntCharMapFactory.empty() . |
ImmutableIntCharMap |
of(int key,
char value) |
|
ImmutableIntCharMap |
ofAll(IntCharMap map) |
|
static ImmutableIntCharMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntCharMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntCharMap |
with() |
Same as
ImmutableIntCharMapFactory.empty() . |
ImmutableIntCharMap |
with(int key,
char value) |
|
ImmutableIntCharMap |
withAll(IntCharMap map) |
public static final ImmutableIntCharMapFactoryImpl INSTANCE
public static ImmutableIntCharMapFactoryImpl[] values()
for (ImmutableIntCharMapFactoryImpl c : ImmutableIntCharMapFactoryImpl.values()) System.out.println(c);
public static ImmutableIntCharMapFactoryImpl valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ImmutableIntCharMap empty()
empty
in interface ImmutableIntCharMapFactory
public ImmutableIntCharMap of()
ImmutableIntCharMapFactory
ImmutableIntCharMapFactory.empty()
.of
in interface ImmutableIntCharMapFactory
public ImmutableIntCharMap with()
ImmutableIntCharMapFactory
ImmutableIntCharMapFactory.empty()
.with
in interface ImmutableIntCharMapFactory
public ImmutableIntCharMap of(int key, char value)
ImmutableIntCharMapFactory
of
in interface ImmutableIntCharMapFactory
public ImmutableIntCharMap with(int key, char value)
with
in interface ImmutableIntCharMapFactory
public ImmutableIntCharMap ofAll(IntCharMap map)
ImmutableIntCharMapFactory
ofAll
in interface ImmutableIntCharMapFactory
public ImmutableIntCharMap withAll(IntCharMap map)
withAll
in interface ImmutableIntCharMapFactory
public <T> ImmutableIntCharMap from(Iterable<T> iterable, IntFunction<? super T> keyFunction, CharFunction<? super T> valueFunction)
ImmutableIntCharMapFactory
ImmutableIntCharMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableIntCharMapFactory
Copyright © 2004–2019. All rights reserved.