public enum ProtocolType extends Enum<ProtocolType>
Enum Constant and Description |
---|
AXI_MEMORY_MAPPED |
AXI_STREAM |
Modifier and Type | Method and Description |
---|---|
static ProtocolType |
stringToValue(String s) |
String |
toString() |
static ProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolType AXI_MEMORY_MAPPED
public static final ProtocolType AXI_STREAM
public static ProtocolType[] values()
for (ProtocolType c : ProtocolType.values()) System.out.println(c);
public static ProtocolType 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 ProtocolType stringToValue(String s)
public String toString()
toString
in class Enum<ProtocolType>