Class VerboseUtils
java.lang.Object
org.ddogleg.util.VerboseUtils
Various utility functions for use with
VerbosePrint-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPass along these arguments to all fields that support verbose printing toostatic final StringPrint verbose information on runtime profilingstatic intNumber of characters in the class name prefix in verbose printingstatic booleanPrints a table explaining what the prefixes are -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable PrintStreamaddPrefix(VerbosePrint owner, int numIndents, @Nullable PrintStream out) static @Nullable PrintStreamaddPrefix(VerbosePrint owner, @Nullable PrintStream out) static <T> Set<T> hashSet(T... values) static StringnameToShort(String name, int length) Assumes names are camel case and that the capital letters are important.static voidverboseChildren(@Nullable PrintStream out, @Nullable Set<String> configuration, @Nullable VerbosePrint... children) Function which handles boilerplate for support recursive verbose print
-
Field Details
-
RECURSIVE
Pass along these arguments to all fields that support verbose printing too- See Also:
-
RUNTIME
-
VERBOSE_PREFIX_LENGTH
public static int VERBOSE_PREFIX_LENGTHNumber of characters in the class name prefix in verbose printing -
VERBOSE_PRINT_TABLE
public static boolean VERBOSE_PRINT_TABLEPrints 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
-
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
-