public static enum Common.Edge extends Enum<Common.Edge>
| 枚举常量和说明 |
|---|
CLOSE_CLOSE |
CLOSE_OPEN |
OPEN_CLOSE |
OPEN_OPEN |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Comparable<T>> |
between(T t,
T bound1,
T bound2) |
static Common.Edge |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Common.Edge[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Common.Edge OPEN_OPEN
public static final Common.Edge CLOSE_OPEN
public static final Common.Edge OPEN_CLOSE
public static final Common.Edge CLOSE_CLOSE
public static Common.Edge[] values()
for (Common.Edge c : Common.Edge.values()) System.out.println(c);
public static Common.Edge valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public <T extends Comparable<T>> boolean between(T t, T bound1, T bound2)
Copyright © 2021. All rights reserved.