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