Serializable
, Comparable<MutableObjectBooleanMapFactoryImpl>
, MutableObjectBooleanMapFactory
public enum MutableObjectBooleanMapFactoryImpl extends Enum<MutableObjectBooleanMapFactoryImpl> implements MutableObjectBooleanMapFactory
MutableObjectBooleanMap
.
This file was automatically generated from template file mutableObjectPrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<K> MutableObjectBooleanMap<K> |
empty() |
|
<T,K> MutableObjectBooleanMap<K> |
from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
BooleanFunction<? super T> valueFunction) |
Creates an
MutableObjectBooleanMap from an Iterable<T> by applying keyFunction and valueFunction . |
<K> MutableObjectBooleanMap<K> |
of() |
|
<K> MutableObjectBooleanMap<K> |
ofAll(ObjectBooleanMap<? extends K> map) |
|
<K> MutableObjectBooleanMap<K> |
ofInitialCapacity(int capacity) |
|
static MutableObjectBooleanMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MutableObjectBooleanMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<K> MutableObjectBooleanMap<K> |
with() |
|
<K> MutableObjectBooleanMap<K> |
withAll(ObjectBooleanMap<? extends K> map) |
|
<K> MutableObjectBooleanMap<K> |
withInitialCapacity(int capacity) |
public static final MutableObjectBooleanMapFactoryImpl INSTANCE
public static MutableObjectBooleanMapFactoryImpl[] values()
for (MutableObjectBooleanMapFactoryImpl c : MutableObjectBooleanMapFactoryImpl.values()) System.out.println(c);
public static MutableObjectBooleanMapFactoryImpl 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 <K> MutableObjectBooleanMap<K> empty()
empty
in interface MutableObjectBooleanMapFactory
public <K> MutableObjectBooleanMap<K> of()
MutableObjectBooleanMapFactory
of
in interface MutableObjectBooleanMapFactory
public <K> MutableObjectBooleanMap<K> with()
MutableObjectBooleanMapFactory
with
in interface MutableObjectBooleanMapFactory
public <K> MutableObjectBooleanMap<K> ofInitialCapacity(int capacity)
MutableObjectBooleanMapFactory
MutableObjectBooleanMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableObjectBooleanMapFactory
public <K> MutableObjectBooleanMap<K> withInitialCapacity(int capacity)
MutableObjectBooleanMapFactory
MutableObjectBooleanMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableObjectBooleanMapFactory
public <K> MutableObjectBooleanMap<K> ofAll(ObjectBooleanMap<? extends K> map)
MutableObjectBooleanMapFactory
ofAll
in interface MutableObjectBooleanMapFactory
public <K> MutableObjectBooleanMap<K> withAll(ObjectBooleanMap<? extends K> map)
withAll
in interface MutableObjectBooleanMapFactory
public <T,K> MutableObjectBooleanMap<K> from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)
MutableObjectBooleanMapFactory
MutableObjectBooleanMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableObjectBooleanMapFactory
Copyright © 2004–2019. All rights reserved.