public static enum Message.Direction extends Enum<Message.Direction>
| Modifier and Type | Method and Description |
|---|---|
int |
addToVersion(int rawVersion) |
static Message.Direction |
extractFromVersion(int versionWithDirection) |
static Message.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Direction REQUEST
public static final Message.Direction RESPONSE
public static Message.Direction[] values()
for (Message.Direction c : Message.Direction.values()) System.out.println(c);
public static Message.Direction 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 static Message.Direction extractFromVersion(int versionWithDirection)
public int addToVersion(int rawVersion)
Copyright © 2013. All Rights Reserved.