public enum NicInterface extends Enum<NicInterface>
| Enum Constant and Description |
|---|
E1000 |
RTL8139 |
RTL8139_VIRTIO |
VIRTIO |
| Modifier and Type | Method and Description |
|---|---|
static NicInterface |
fromValue(String value) |
String |
value() |
static NicInterface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NicInterface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NicInterface E1000
public static final NicInterface VIRTIO
public static final NicInterface RTL8139
public static final NicInterface RTL8139_VIRTIO
public static NicInterface[] values()
for (NicInterface c : NicInterface.values()) System.out.println(c);
public static NicInterface 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 String value()
public static NicInterface fromValue(String value)
Copyright © 2012. All Rights Reserved.