public static enum GraphEvent.Type extends java.lang.Enum<GraphEvent.Type>
Enum Constant and Description |
---|
EDGE_ADDED |
EDGE_REMOVED |
VERTEX_ADDED |
VERTEX_REMOVED |
Modifier and Type | Method and Description |
---|---|
static GraphEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphEvent.Type VERTEX_ADDED
public static final GraphEvent.Type VERTEX_REMOVED
public static final GraphEvent.Type EDGE_ADDED
public static final GraphEvent.Type EDGE_REMOVED
public static GraphEvent.Type[] values()
for (GraphEvent.Type c : GraphEvent.Type.values()) System.out.println(c);
public static GraphEvent.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence