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