Interface PrintBuffer.Printer

  • Enclosing class:
    PrintBuffer
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface PrintBuffer.Printer
    Functional interface for defining the actual print output.
    • Method Detail

      • print

        void print​(java.lang.String token,
                   ClassPrinter out,
                   ClassContext context)
            throws java.io.IOException
        Prints a token.
        Parameters:
        token - the token to print.
        out - the ClassPrinter to print to.
        context - the ClassContext to use for printing.
        Throws:
        java.io.IOException - if an I/O error occurs.