ImmutableByteShortMapFactory
public enum ImmutableByteShortMapFactoryImpl extends java.lang.Enum<ImmutableByteShortMapFactoryImpl> implements ImmutableByteShortMapFactory
ImmutableByteShortMap
.
This file was automatically generated from template file immutablePrimitivePrimitiveMapFactoryImpl.stg.Enum Constant | Description |
---|---|
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
ImmutableByteShortMap |
empty() |
|
ImmutableByteShortMap |
of() |
Same as
ImmutableByteShortMapFactory.empty() . |
ImmutableByteShortMap |
of(byte key,
short value) |
|
ImmutableByteShortMap |
ofAll(ByteShortMap map) |
|
static ImmutableByteShortMapFactoryImpl |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ImmutableByteShortMapFactoryImpl[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
ImmutableByteShortMap |
with() |
Same as
ImmutableByteShortMapFactory.empty() . |
ImmutableByteShortMap |
with(byte key,
short value) |
|
ImmutableByteShortMap |
withAll(ByteShortMap map) |
public static final ImmutableByteShortMapFactoryImpl INSTANCE
public static ImmutableByteShortMapFactoryImpl[] values()
for (ImmutableByteShortMapFactoryImpl c : ImmutableByteShortMapFactoryImpl.values()) System.out.println(c);
public static ImmutableByteShortMapFactoryImpl 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 ImmutableByteShortMap empty()
empty
in interface ImmutableByteShortMapFactory
public ImmutableByteShortMap of()
ImmutableByteShortMapFactory
ImmutableByteShortMapFactory.empty()
.of
in interface ImmutableByteShortMapFactory
public ImmutableByteShortMap with()
ImmutableByteShortMapFactory
ImmutableByteShortMapFactory.empty()
.with
in interface ImmutableByteShortMapFactory
public ImmutableByteShortMap of(byte key, short value)
ImmutableByteShortMapFactory
of
in interface ImmutableByteShortMapFactory
public ImmutableByteShortMap with(byte key, short value)
with
in interface ImmutableByteShortMapFactory
public ImmutableByteShortMap ofAll(ByteShortMap map)
ImmutableByteShortMapFactory
ofAll
in interface ImmutableByteShortMapFactory
public ImmutableByteShortMap withAll(ByteShortMap map)
withAll
in interface ImmutableByteShortMapFactory
Copyright © 2004–2018. All rights reserved.