Class NodeFactoryImpl

    • Constructor Detail

      • NodeFactoryImpl

        protected NodeFactoryImpl​(IdGroupingToken groupId,
                                  Nodes vertices)
        Constructor
        Parameters:
        groupId - to use
        vertices - to use
    • Method Detail

      • createNew

        public Node createNew()
        Create a new node (without registering)
        Specified by:
        createNew in interface NodeFactory
        Returns:
        created node
      • registerNew

        public Node registerNew()
        Create and register new node
        Specified by:
        registerNew in interface NodeFactory
        Returns:
        new node created