ImmutableByteIntMapFactory
public 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() |
|
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 ImmutableByteIntMapFactory
public ImmutableByteIntMap of()
ImmutableByteIntMapFactory
ImmutableByteIntMapFactory.empty()
.of
in interface ImmutableByteIntMapFactory
public ImmutableByteIntMap with()
ImmutableByteIntMapFactory
ImmutableByteIntMapFactory.empty()
.with
in interface ImmutableByteIntMapFactory
public ImmutableByteIntMap of(byte key, int value)
ImmutableByteIntMapFactory
of
in interface ImmutableByteIntMapFactory
public ImmutableByteIntMap with(byte key, int value)
with
in interface ImmutableByteIntMapFactory
public ImmutableByteIntMap ofAll(ByteIntMap map)
ImmutableByteIntMapFactory
ofAll
in interface ImmutableByteIntMapFactory
public ImmutableByteIntMap withAll(ByteIntMap map)
withAll
in interface ImmutableByteIntMapFactory
Copyright © 2004–2017. All rights reserved.