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