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