Interface InputParser<D>

  • Type Parameters:
    D - the type of node data.
    All Known Implementing Classes:
    BracketStringInputParser

    public interface InputParser<D>
    This interface specifies methods (currently only one) that must be implemented for a custom input parser.
    • Method Detail

      • fromString

        AptedNode<D> fromString​(String s)
        Converst the input tree passed as string (e.g., bracket notation, XML) into the tree structure.
        Parameters:
        s - input tree as string.
        Returns:
        tree structure.