Class VerboseUtils

java.lang.Object
org.ddogleg.util.VerboseUtils

public class VerboseUtils extends Object
Various utility functions for use with VerbosePrint
  • Field Details

    • RECURSIVE

      public static final String RECURSIVE
      Pass along these arguments to all fields that support verbose printing too
      See Also:
    • RUNTIME

      public static final String RUNTIME
      Print verbose information on runtime profiling
      See Also:
    • VERBOSE_PREFIX_LENGTH

      public static int VERBOSE_PREFIX_LENGTH
      Number of characters in the class name prefix in verbose printing
    • VERBOSE_PRINT_TABLE

      public static boolean VERBOSE_PRINT_TABLE
      Prints a table explaining what the prefixes are
  • Constructor Details

    • VerboseUtils

      public VerboseUtils()
  • Method Details

    • addPrefix

      @Nullable public static @Nullable PrintStream addPrefix(VerbosePrint owner, @Nullable @Nullable PrintStream out)
    • addPrefix

      @Nullable public static @Nullable PrintStream addPrefix(VerbosePrint owner, int numIndents, @Nullable @Nullable PrintStream out)
    • nameToShort

      public static String nameToShort(String name, int length)
      Assumes names are camel case and that the capital letters are important. Same for numbers
    • verboseChildren

      public static void verboseChildren(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration, @Nullable @Nullable VerbosePrint... children)
      Function which handles boilerplate for support recursive verbose print
    • hashSet

      public static <T> Set<T> hashSet(T... values)