public enum VlanModeType extends Enum<VlanModeType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VlanModeType.Adapter |
| 枚举常量和说明 |
|---|
GENEVE |
VLAN_ACCESS |
VLAN_TRUNK |
VLANMODETYPE_UNSUPPORTED_ENUM |
VXLAN |
| 限定符和类型 | 方法和说明 |
|---|---|
static VlanModeType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static VlanModeType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static VlanModeType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final VlanModeType GENEVE
public static final VlanModeType VLAN_ACCESS
public static final VlanModeType VLAN_TRUNK
public static final VlanModeType VXLAN
public static final VlanModeType VLANMODETYPE_UNSUPPORTED_ENUM
public static VlanModeType[] values()
for (VlanModeType c : VlanModeType.values()) System.out.println(c);
public static VlanModeType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<VlanModeType>public static VlanModeType fromValue(String value)
Copyright © 2025. All rights reserved.