Serializable
, Comparable<MutableShortIntMapFactoryImpl>
, MutableShortIntMapFactory
public enum MutableShortIntMapFactoryImpl extends Enum<MutableShortIntMapFactoryImpl> implements MutableShortIntMapFactory
MutableShortIntMap
.
This file was automatically generated from template file mutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
public static final MutableShortIntMapFactoryImpl INSTANCE
public static MutableShortIntMapFactoryImpl[] values()
for (MutableShortIntMapFactoryImpl c : MutableShortIntMapFactoryImpl.values()) System.out.println(c);
public static MutableShortIntMapFactoryImpl 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 MutableShortIntMap empty()
empty
in interface MutableShortIntMapFactory
public MutableShortIntMap of()
MutableShortIntMapFactory
MutableShortIntMapFactory.empty()
.of
in interface MutableShortIntMapFactory
public MutableShortIntMap with()
MutableShortIntMapFactory
MutableShortIntMapFactory.empty()
.with
in interface MutableShortIntMapFactory
public MutableShortIntMap ofInitialCapacity(int capacity)
MutableShortIntMapFactory
MutableShortIntMapFactory.empty()
. but takes in an initial capacityofInitialCapacity
in interface MutableShortIntMapFactory
public MutableShortIntMap withInitialCapacity(int capacity)
MutableShortIntMapFactory
MutableShortIntMapFactory.empty()
. but takes in an initial capacitywithInitialCapacity
in interface MutableShortIntMapFactory
public MutableShortIntMap ofAll(ShortIntMap map)
MutableShortIntMapFactory
ofAll
in interface MutableShortIntMapFactory
public MutableShortIntMap withAll(ShortIntMap map)
withAll
in interface MutableShortIntMapFactory
public <T> MutableShortIntMap from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, IntFunction<? super T> valueFunction)
MutableShortIntMapFactory
MutableShortIntMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface MutableShortIntMapFactory
Copyright © 2004–2019. All rights reserved.