public enum HWPort extends java.lang.Enum<HWPort>
Enum Constant and Description |
---|
eth0
Netzwerkport 0
ordinal() := 0
|
eth1
Netzwerkport 1
ordinal() := 1
|
eth2
Netzwerkport 2
ordinal() := 2
|
eth3
Netzwerkport 3
ordinal() := 3
|
localhost
Loopback auf den Router
ordinal() := 5
|
no_route_to_host
Repräsentation dafür, dass keine Route zum Ziel gefunden wurde
ordinal() := 4
|
Modifier and Type | Method and Description |
---|---|
static HWPort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HWPort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HWPort eth0
public static final HWPort eth1
public static final HWPort eth2
public static final HWPort eth3
public static final HWPort localhost
public static final HWPort no_route_to_host
public static HWPort 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 static HWPort[] values()
for (HWPort c : HWPort.values()) System.out.println(c);