Class ConjugateNodeFactoryImpl

    • Constructor Detail

      • ConjugateNodeFactoryImpl

        protected ConjugateNodeFactoryImpl​(IdGroupingToken groupId,
                                           ConjugateNodes container)
        Constructor
        Parameters:
        groupId - to use
        container - to use
    • Method Detail

      • createNew

        public ConjugateNode createNew​(Link originalLink)
        Create a new conjugate node (without registering)
        Specified by:
        createNew in interface ConjugateNodeFactory
        Parameters:
        originalLink - this node is the conjugate of
        Returns:
        created conjugate node
      • registerNew

        public ConjugateNode registerNew​(Link originalLink)
        Create and register new conjugate node
        Specified by:
        registerNew in interface ConjugateNodeFactory
        Parameters:
        originalLink - this node is the conjugate of
        Returns:
        new node created