public static enum GVertex.Field extends Enum<GVertex.Field>
Enum Constant and Description |
---|
EDGES
Vertex edges.
|
VERTEX_ID
Vertex id.
|
VERTEX_VALUE
Vertex value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
String |
getName()
Gets field's name.
|
String |
toString()
Gets field's attributes to string.
|
static GVertex.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GVertex.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GVertex.Field VERTEX_ID
public static final GVertex.Field VERTEX_VALUE
public static final GVertex.Field EDGES
public static GVertex.Field[] values()
for (GVertex.Field c : GVertex.Field.values()) System.out.println(c);
public static GVertex.Field 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 nullpublic int getIndex()
public String getName()
public String toString()
toString
in class Enum<GVertex.Field>
Copyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.