public enum LinkLayerDiscoveryProtocol extends Enum<LinkLayerDiscoveryProtocol>
Modifier and Type | Method and Description |
---|---|
static LinkLayerDiscoveryProtocol |
getByValue(int value) |
int |
getValue() |
static LinkLayerDiscoveryProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkLayerDiscoveryProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkLayerDiscoveryProtocol UNKNOWN
public static final LinkLayerDiscoveryProtocol FDB
public static final LinkLayerDiscoveryProtocol CDP
public static final LinkLayerDiscoveryProtocol LLDP
public static final LinkLayerDiscoveryProtocol NDP
public static final LinkLayerDiscoveryProtocol EDP
public static final LinkLayerDiscoveryProtocol STP
public static LinkLayerDiscoveryProtocol[] values()
for (LinkLayerDiscoveryProtocol c : LinkLayerDiscoveryProtocol.values()) System.out.println(c);
public static LinkLayerDiscoveryProtocol 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 int getValue()
public static LinkLayerDiscoveryProtocol getByValue(int value)
value
- Copyright © 2014. All rights reserved.