public enum GraphAction extends Enum<GraphAction>
| Enum Constant and Description |
|---|
EDGE_ADDED
Добавлено ребро
|
EDGE_REMOVED
Удалено ребро
|
NODE_ADDED
Добавлена вершина
|
NODE_REMOVED
Вершина удалена
|
| Modifier and Type | Method and Description |
|---|---|
static GraphAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphAction NODE_ADDED
public static final GraphAction NODE_REMOVED
public static final GraphAction EDGE_ADDED
public static final GraphAction EDGE_REMOVED
public static GraphAction[] values()
for (GraphAction c : GraphAction.values()) System.out.println(c);
public static GraphAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.