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