public enum USBConnectionSpeed extends java.lang.Enum<USBConnectionSpeed>
Enum Constant and Description |
---|
Full
Full speed, 12 Mbps.
|
High
High speed, 480 Mbps.
|
Low
Low speed, 1.5 Mbps.
|
Null
null value.
|
Super
SuperSpeed, 5 Gbps.
|
SuperPlus
SuperSpeedPlus, 10 Gbps.
|
Modifier and Type | Method and Description |
---|---|
static USBConnectionSpeed |
fromValue(long v) |
static USBConnectionSpeed |
fromValue(java.lang.String v) |
int |
value() |
static USBConnectionSpeed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static USBConnectionSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final USBConnectionSpeed Null
public static final USBConnectionSpeed Low
public static final USBConnectionSpeed Full
public static final USBConnectionSpeed High
public static final USBConnectionSpeed Super
public static final USBConnectionSpeed SuperPlus
public static USBConnectionSpeed[] values()
for (USBConnectionSpeed c : USBConnectionSpeed.values()) System.out.println(c);
public static USBConnectionSpeed 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 int value()
public static USBConnectionSpeed fromValue(long v)
public static USBConnectionSpeed fromValue(java.lang.String v)