public static enum RouteInfo.TunnelType extends Enum<RouteInfo.TunnelType>
| Modifier and Type | Method and Description |
|---|---|
static RouteInfo.TunnelType |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static RouteInfo.TunnelType[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final RouteInfo.TunnelType PLAIN
public static final RouteInfo.TunnelType TUNNELLED
public static RouteInfo.TunnelType[] values()
for (RouteInfo.TunnelType c : RouteInfo.TunnelType.values())
System.out.println(c);
public static RouteInfo.TunnelType valueOf(String name)
name - 要返回的枚举常量的名称。
IllegalArgumentException - 如果此枚举类型没有指定名称的常量
NullPointerException - 如果参数为空
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.