Class AbstractInfoNodeGenerator

    • Constructor Detail

      • AbstractInfoNodeGenerator

        public AbstractInfoNodeGenerator()
    • Method Detail

      • process

        public abstract boolean process​(DotNotationNode leaf,
                                        String label)
        Processes the leaf, potentially adding one or more info nodes.
        Parameters:
        leaf - the node to add the info node(s) to
        label - the full label for the current path to the root
        Returns:
        true if at least one info node was added
      • compareTo

        public int compareTo​(AbstractInfoNodeGenerator o)
        Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. Merely uses the classname for comparison.
        Specified by:
        compareTo in interface Comparable<AbstractInfoNodeGenerator>
        Parameters:
        o - the object to be compared.
        Returns:
        a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
      • equals

        public boolean equals​(Object o)
        Returns whether the two objects are the same.

        Only compares the classnames of the two objects.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to be compared
        Returns:
        true if the object is the same as this one