java.io.Serializable
, java.lang.Comparable<ImmutableCharBooleanMapFactoryImpl>
, ImmutableCharBooleanMapFactory
public enum ImmutableCharBooleanMapFactoryImpl extends java.lang.Enum<ImmutableCharBooleanMapFactoryImpl> implements ImmutableCharBooleanMapFactory
ImmutableCharBooleanMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableCharBooleanMap |
empty() |
|
<T> ImmutableCharBooleanMap |
from(java.lang.Iterable<T> iterable,
CharFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction) |
Creates an
ImmutableCharBooleanMap from an Iterable<T> by applying keyFunction and valueFunction . |
ImmutableCharBooleanMap |
of() |
|
ImmutableCharBooleanMap |
of(char key,
boolean value) |
|
ImmutableCharBooleanMap |
ofAll(CharBooleanMap map) |
|
static ImmutableCharBooleanMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableCharBooleanMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableCharBooleanMap |
with() |
|
ImmutableCharBooleanMap |
with(char key,
boolean value) |
|
ImmutableCharBooleanMap |
withAll(CharBooleanMap map) |
public static final ImmutableCharBooleanMapFactoryImpl INSTANCE
public static ImmutableCharBooleanMapFactoryImpl[] values()
for (ImmutableCharBooleanMapFactoryImpl c : ImmutableCharBooleanMapFactoryImpl.values()) System.out.println(c);
public static ImmutableCharBooleanMapFactoryImpl 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 ImmutableCharBooleanMap empty()
empty
in interface ImmutableCharBooleanMapFactory
public ImmutableCharBooleanMap of()
ImmutableCharBooleanMapFactory
of
in interface ImmutableCharBooleanMapFactory
public ImmutableCharBooleanMap with()
ImmutableCharBooleanMapFactory
with
in interface ImmutableCharBooleanMapFactory
public ImmutableCharBooleanMap of(char key, boolean value)
ImmutableCharBooleanMapFactory
of
in interface ImmutableCharBooleanMapFactory
public ImmutableCharBooleanMap with(char key, boolean value)
with
in interface ImmutableCharBooleanMapFactory
public ImmutableCharBooleanMap ofAll(CharBooleanMap map)
ImmutableCharBooleanMapFactory
ofAll
in interface ImmutableCharBooleanMapFactory
public ImmutableCharBooleanMap withAll(CharBooleanMap map)
withAll
in interface ImmutableCharBooleanMapFactory
public <T> ImmutableCharBooleanMap from(java.lang.Iterable<T> iterable, CharFunction<? super T> keyFunction, BooleanFunction<? super T> valueFunction)
ImmutableCharBooleanMapFactory
ImmutableCharBooleanMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableCharBooleanMapFactory
Copyright © 2004–2020. All rights reserved.