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