MCPcopy Create free account
hub / github.com/apache/calcite / lines

Method lines

core/src/main/java/org/apache/calcite/util/Util.java:1511–1513  ·  view source on GitHub ↗

Converts a list of strings to a string separated by newlines.

(Iterable<String> strings)

Source from the content-addressed store, hash-verified

1509
1510 /** Converts a list of strings to a string separated by newlines. */
1511 public static String lines(Iterable<String> strings) {
1512 return toString(strings, "", "\n", "");
1513 }
1514
1515 /** Converts a string into tokens. */
1516 public static Iterable<String> tokenize(final String s, final String delim) {

Callers 6

equalsUnorderedMethod · 0.95
checkResultMethod · 0.95
getResourceAsStringMethod · 0.80
readMethod · 0.80
applyMethod · 0.80

Calls 1

toStringMethod · 0.95

Tested by 5

equalsUnorderedMethod · 0.76
checkResultMethod · 0.76
getResourceAsStringMethod · 0.64
readMethod · 0.64