Serializable
, Comparable<ImmutableByteObjectMapFactoryImpl>
, ImmutableByteObjectMapFactory
public enum ImmutableByteObjectMapFactoryImpl extends Enum<ImmutableByteObjectMapFactoryImpl> implements ImmutableByteObjectMapFactory
ImmutableByteObjectMap
.
This file was automatically generated from template file immutablePrimitiveObjectMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableByteObjectMap<V> |
empty() |
|
<T,V> ImmutableByteObjectMap<V> |
from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction) |
Creates an
ImmutableByteObjectMap from an Iterable<T> by applying keyFunction and valueFunction . |
<V> ImmutableByteObjectMap<V> |
of() |
|
<V> ImmutableByteObjectMap<V> |
of(byte key,
V value) |
|
<V> ImmutableByteObjectMap<V> |
ofAll(ByteObjectMap<? extends V> map) |
|
static ImmutableByteObjectMapFactoryImpl |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableByteObjectMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
<V> ImmutableByteObjectMap<V> |
with() |
|
<V> ImmutableByteObjectMap<V> |
with(byte key,
V value) |
|
<V> ImmutableByteObjectMap<V> |
withAll(ByteObjectMap<? extends V> map) |
public static final ImmutableByteObjectMapFactoryImpl INSTANCE
public static ImmutableByteObjectMapFactoryImpl[] values()
for (ImmutableByteObjectMapFactoryImpl c : ImmutableByteObjectMapFactoryImpl.values()) System.out.println(c);
public static ImmutableByteObjectMapFactoryImpl 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 <V> ImmutableByteObjectMap<V> empty()
empty
in interface ImmutableByteObjectMapFactory
public <V> ImmutableByteObjectMap<V> of()
ImmutableByteObjectMapFactory
of
in interface ImmutableByteObjectMapFactory
public <V> ImmutableByteObjectMap<V> with()
ImmutableByteObjectMapFactory
with
in interface ImmutableByteObjectMapFactory
public <V> ImmutableByteObjectMap<V> of(byte key, V value)
ImmutableByteObjectMapFactory
of
in interface ImmutableByteObjectMapFactory
public <V> ImmutableByteObjectMap<V> with(byte key, V value)
with
in interface ImmutableByteObjectMapFactory
public <V> ImmutableByteObjectMap<V> ofAll(ByteObjectMap<? extends V> map)
ImmutableByteObjectMapFactory
ofAll
in interface ImmutableByteObjectMapFactory
public <V> ImmutableByteObjectMap<V> withAll(ByteObjectMap<? extends V> map)
withAll
in interface ImmutableByteObjectMapFactory
public <T,V> ImmutableByteObjectMap<V> from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
ImmutableByteObjectMapFactory
ImmutableByteObjectMap
from an Iterable<T>
by applying keyFunction
and valueFunction
.from
in interface ImmutableByteObjectMapFactory
Copyright © 2004–2019. All rights reserved.