Class StatsPrinter

java.lang.Object
se.liu.ida.hefquin.base.utils.StatsPrinter

public class StatsPrinter extends Object
  • Constructor Details

    • StatsPrinter

      public StatsPrinter()
  • Method Details

    • print

      public static void print(Stats s, PrintStream out, boolean recursive)
      Prints the given stats to the given print stream. Every entry that is a Stats object itself is printed as well if the 'recursive' flag is 'true'.
    • print

      public static void print(Stats s, PrintStream out, boolean recursive, int indentLevel)
      Prints the given stats to the given print stream at the given indentation level. Every entry that is a Stats object itself is printed as well if the 'recursive' flag is 'true'.
    • addTabs

      protected static void addTabs(PrintStream out, int indentLevel)