Skip to content

Instantly share code, notes, and snippets.

@okram
Created December 17, 2013 17:02
Show Gist options
  • Save okram/8008414 to your computer and use it in GitHub Desktop.
Save okram/8008414 to your computer and use it in GitHub Desktop.
public interface Extension {
public default Optional<Object[]> beforeAddVertex(Optional<Object[]> keyValues) {
return keyValues;
}
public default Optional<Vertex> afterAddVertex(Optional<Vertex> vertex) {
return vertex;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment