public static enum CommandAck.AckType extends Enum<CommandAck.AckType>
| Enum Constant and Description |
|---|
Cumulative |
Individual |
| Modifier and Type | Field and Description |
|---|---|
static int |
Cumulative_VALUE |
static int |
Individual_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static CommandAck.AckType |
valueOf(int n) |
static CommandAck.AckType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandAck.AckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandAck.AckType Individual
public static final CommandAck.AckType Cumulative
public static final int Individual_VALUE
public static final int Cumulative_VALUE
public static CommandAck.AckType[] values()
for (CommandAck.AckType c : CommandAck.AckType.values()) System.out.println(c);
public static CommandAck.AckType 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 int getValue()
public static CommandAck.AckType valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.