Interface Search.Listener

  • Enclosing class:

    public static interface Search.Listener
    Interface for a class that will recieve match information from this class.
    • Method Detail

      • reportMatch

        boolean reportMatch​(SymbolList seq,
                            Pattern pattern,
                            int start,
                            int end)
        seq - Sequence on which the search was conducted.
        pattern - Pattern object used to conduct search.
        start - start coordinate of match.
        end - end of match plus one.
        if false, it indicates the Listener will not accept further data.