Skip to content

Instantly share code, notes, and snippets.

@spmallette
Created February 19, 2014 19:51
Show Gist options
  • Save spmallette/9100195 to your computer and use it in GitHub Desktop.
Save spmallette/9100195 to your computer and use it in GitHub Desktop.
Graph API - Custom Traversal
public <T extends Traversal> T V(final Class<? extends T> t);
public default Traversal<Vertex, Vertex> V() {
return V(DefaultTraversal.class);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment