Class DebugOutImpl

    • Constructor Detail

      • DebugOutImpl

        public DebugOutImpl​(String id,
                            boolean debug,
                            DebugSink sink)
      • DebugOutImpl

        public DebugOutImpl​(String id,
                            boolean debug)
    • Method Detail

      • getID

        public String getID()
        Description copied from interface: DebugOut
        Return the arbitrary identifier for this instance.
        Specified by:
        getID in interface DebugOut
      • getDebug

        public boolean getDebug()
        Description copied from interface: DebugOut
        Return true if debugging is on.
        Specified by:
        getDebug in interface DebugOut
      • print

        public void print​(Object o)
        Description copied from interface: DebugSink
        Output a message without a newline.
        Specified by:
        print in interface DebugSink
        Parameters:
        o - the Object to output
      • println

        public void println​(Object o)
        Description copied from interface: DebugSink
        Output a message with a newline.
        Specified by:
        println in interface DebugSink
        Parameters:
        o - the Object to output
      • setDebug

        public void setDebug​(boolean debug)
      • debug

        public void debug​(Object... args)
        Description copied from interface: DebugOut
        If getDebug() returns true, output the arguments
        Specified by:
        debug in interface DebugOut