Serializable, Comparable<Edge>public enum Edge extends Enum<Edge>
| 枚举常量 | 说明 |
|---|---|
Bottom |
|
BottomLeft |
|
BottomRight |
|
Left |
|
None |
|
Right |
|
Top |
|
TopLeft |
|
TopRight |
public static final Edge None
public static final Edge TopLeft
public static final Edge Top
public static final Edge TopRight
public static final Edge Right
public static final Edge BottomRight
public static final Edge Bottom
public static final Edge BottomLeft
public static final Edge Left
public static Edge[] values()
for (Edge c : Edge.values()) System.out.println(c);
public static Edge valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019. All rights reserved.