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