Interface NodeFactory<T extends Node>


public interface NodeFactory<T extends Node>
An interface aimed at dynamically creating node objects.
Since:
September 2007
  • Method Summary

    Modifier and Type Method Description
    T newInstance​(String id, Graph graph)
    Create a new instance of node.
  • Method Details

    • newInstance

      T newInstance​(String id, Graph graph)
      Create a new instance of node.
      Returns:
      The newly created edge.