private static enum StreamEngine.Protocol extends java.lang.Enum<StreamEngine.Protocol>
Modifier and Type | Field and Description |
---|---|
private byte |
revision |
Modifier and Type | Method and Description |
---|---|
static StreamEngine.Protocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamEngine.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamEngine.Protocol V0
public static final StreamEngine.Protocol V1
public static final StreamEngine.Protocol V2
public static final StreamEngine.Protocol V3
public static StreamEngine.Protocol[] values()
for (StreamEngine.Protocol c : StreamEngine.Protocol.values()) System.out.println(c);
public static StreamEngine.Protocol 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 null