public enum Adjacency extends Enum<Adjacency>
| 枚举常量和说明 |
|---|
EDGE
the two boxes has at least one common edge
|
FACE
the two boxes has one common face
|
VERTEX
the two boxes has at least one common vertex
|
public static final Adjacency FACE
public static final Adjacency EDGE
public static final Adjacency VERTEX
public static Adjacency[] values()
for (Adjacency c : Adjacency.values()) System.out.println(c);
public static Adjacency valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019. All rights reserved.