public static enum Message.Direction extends java.lang.Enum<Message.Direction>
Modifier and Type | Method and Description |
---|---|
int |
addToVersion(int rawVersion) |
static Message.Direction |
extractFromVersion(int versionWithDirection) |
static Message.Direction |
valueOf(java.lang.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(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 static Message.Direction extractFromVersion(int versionWithDirection)
public int addToVersion(int rawVersion)
Copyright © 2013 The Apache Software Foundation