java.io.Serializable, java.lang.Comparable<ImmutableIntByteMapFactoryImpl>, ImmutableIntByteMapFactorypublic enum ImmutableIntByteMapFactoryImpl extends java.lang.Enum<ImmutableIntByteMapFactoryImpl> implements ImmutableIntByteMapFactory
ImmutableIntByteMap.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
ImmutableIntByteMap |
empty() |
|
<T> ImmutableIntByteMap |
from(java.lang.Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction) |
Creates an
ImmutableIntByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableIntByteMap |
of() |
Same as
ImmutableIntByteMapFactory.empty(). |
ImmutableIntByteMap |
of(int key,
byte value) |
|
ImmutableIntByteMap |
ofAll(IntByteMap map) |
|
static ImmutableIntByteMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableIntByteMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableIntByteMap |
with() |
Same as
ImmutableIntByteMapFactory.empty(). |
ImmutableIntByteMap |
with(int key,
byte value) |
|
ImmutableIntByteMap |
withAll(IntByteMap map) |
public static final ImmutableIntByteMapFactoryImpl INSTANCE
public static ImmutableIntByteMapFactoryImpl[] values()
for (ImmutableIntByteMapFactoryImpl c : ImmutableIntByteMapFactoryImpl.values()) System.out.println(c);
public static ImmutableIntByteMapFactoryImpl 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 ImmutableIntByteMap empty()
empty in interface ImmutableIntByteMapFactorypublic ImmutableIntByteMap of()
ImmutableIntByteMapFactoryImmutableIntByteMapFactory.empty().of in interface ImmutableIntByteMapFactorypublic ImmutableIntByteMap with()
ImmutableIntByteMapFactoryImmutableIntByteMapFactory.empty().with in interface ImmutableIntByteMapFactorypublic ImmutableIntByteMap of(int key, byte value)
ImmutableIntByteMapFactoryof in interface ImmutableIntByteMapFactorypublic ImmutableIntByteMap with(int key, byte value)
with in interface ImmutableIntByteMapFactorypublic ImmutableIntByteMap ofAll(IntByteMap map)
ImmutableIntByteMapFactoryofAll in interface ImmutableIntByteMapFactorypublic ImmutableIntByteMap withAll(IntByteMap map)
withAll in interface ImmutableIntByteMapFactorypublic <T> ImmutableIntByteMap from(java.lang.Iterable<T> iterable, IntFunction<? super T> keyFunction, ByteFunction<? super T> valueFunction)
ImmutableIntByteMapFactoryImmutableIntByteMap from an Iterable<T> by applying keyFunction and valueFunction.from in interface ImmutableIntByteMapFactoryCopyright © 2004–2020. All rights reserved.