MCPcopy Create free account
hub / github.com/cmu-db/benchbase / box

Method box

src/main/java/com/oltpbenchmark/util/StringUtil.java:301–303  ·  view source on GitHub ↗

Make a box around some text. If str has multiple lines, then the box will be the length of the longest string. @param str @return

(String str)

Source from the content-addressed store, hash-verified

299 * @return
300 */
301 public static String box(String str) {
302 return (StringUtil.box(str, "*", null));
303 }
304
305 /**
306 * Create a box around some text

Callers 1

formatMapsMethod · 0.95

Calls 4

repeatMethod · 0.95
appendMethod · 0.80
formatMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected