Class WoolNodeBody.Segment

    • Constructor Detail

      • Segment

        public Segment()
    • Method Detail

      • findReplyById

        public abstract WoolReply findReplyById​(int replyId)
        Tries to find a reply with the specified ID within this segment. If no such reply is found, this method returns null.
        Parameters:
        replyId - the reply ID
        Returns:
        the reply or null
      • getReadVariableNames

        public abstract void getReadVariableNames​(Set<String> varNames)
        Retrieves all variable names that are read in this segment and adds them to the specified set.
        Parameters:
        varNames - the set to which the variable names are added
      • getWriteVariableNames

        public abstract void getWriteVariableNames​(Set<String> varNames)
        Retrieves all variable names that are written in this segment and adds them to the specified set.
        Parameters:
        varNames - the set to which the variable names are added