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