public enum OpSpeed extends Enum<OpSpeed>
Enum Constant and Description |
---|
Auto |
Speed0M |
Speed100M |
Speed10G |
Speed10M |
Speed1G |
Speed1M |
Speed2_5G |
Speed20G |
Speed2G |
Speed40G |
Speed4G |
Speed8G |
Unknown |
Modifier and Type | Method and Description |
---|---|
static OpSpeed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpSpeed Auto
public static final OpSpeed Speed0M
public static final OpSpeed Speed100M
public static final OpSpeed Speed10G
public static final OpSpeed Speed10M
public static final OpSpeed Speed1G
public static final OpSpeed Speed1M
public static final OpSpeed Speed20G
public static final OpSpeed Speed2G
public static final OpSpeed Speed2_5G
public static final OpSpeed Speed40G
public static final OpSpeed Speed4G
public static final OpSpeed Speed8G
public static final OpSpeed Unknown
public static OpSpeed[] values()
for (OpSpeed c : OpSpeed.values()) System.out.println(c);
public static OpSpeed 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 nullCopyright © 2016. All rights reserved.