Skip to content

Instantly share code, notes, and snippets.

Created Feb 5, 2014
What would you like to do?
public <A extends Gremlin<?, Vertex>> A V() {
Gremlin gremlin = new DefaultGremlin<Object, Vertex>();
gremlin.addStarts(new HolderIterator<>(this.vertices.values().iterator()));
return (A) gremlin;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment