public static enum ControllerReply.ReplyCode extends Enum<ControllerReply.ReplyCode>
Enum Constant and Description |
---|
REPLYCODE_ACKNOWLEDGE |
REPLYCODE_CLEAR |
REPLYCODE_NONACKNOWLEDGE |
Modifier and Type | Method and Description |
---|---|
String |
getReplyCodeName() |
int |
getReplyCodeNumber() |
static ControllerReply.ReplyCode |
lookup(int num) |
static ControllerReply.ReplyCode |
lookup(String name) |
static Integer |
lookupNumber(String name) |
static ControllerReply.ReplyCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControllerReply.ReplyCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControllerReply.ReplyCode REPLYCODE_CLEAR
public static final ControllerReply.ReplyCode REPLYCODE_ACKNOWLEDGE
public static final ControllerReply.ReplyCode REPLYCODE_NONACKNOWLEDGE
public static ControllerReply.ReplyCode[] values()
for (ControllerReply.ReplyCode c : ControllerReply.ReplyCode.values()) System.out.println(c);
public static ControllerReply.ReplyCode 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 getReplyCodeNumber()
public String getReplyCodeName()
public static final ControllerReply.ReplyCode lookup(int num)
public static final ControllerReply.ReplyCode lookup(String name)
Copyright © 2023. All rights reserved.