public class ValuePrinter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
print(Object value)
Prints given value so that it is neatly readable by humans.
|
static String |
printValues(String start,
String separator,
String end,
Iterator<?> values)
Print values in a nice format, e.g.
|
public static String print(Object value)
public static String printValues(String start, String separator, String end, Iterator<?> values)
start
- the beginning of the values, e.g. "("separator
- the separator of values, e.g. ", "end
- the end of the values, e.g. ")"values
- the values to printCopyright © 2023. All rights reserved.