public static enum ProgressInfo.Direction extends java.lang.Enum<ProgressInfo.Direction>
Modifier and Type | Field and Description |
---|---|
byte |
code |
Modifier and Type | Method and Description |
---|---|
static ProgressInfo.Direction |
fromByte(byte direction) |
static ProgressInfo.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgressInfo.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressInfo.Direction OUT
public static final ProgressInfo.Direction IN
public static ProgressInfo.Direction[] values()
for (ProgressInfo.Direction c : ProgressInfo.Direction.values()) System.out.println(c);
public static ProgressInfo.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 ProgressInfo.Direction fromByte(byte direction)
Copyright © 2017 The Apache Software Foundation