MCPcopy Create free account
hub / github.com/dianping/cat / by

Method by

lib/java/src/main/java/com/dianping/cat/util/Joiners.java:25–32  ·  view source on GitHub ↗
(final char delimiter)

Source from the content-addressed store, hash-verified

23
24public class Joiners {
25 public static StringJoiner by(final char delimiter) {
26 return new StringJoiner() {
27 @Override
28 protected void appendDelimiter(StringBuilder sb) {
29 sb.append(delimiter);
30 }
31 };
32 }
33
34 public static StringJoiner by(final String delimiter) {
35 return new StringJoiner() {

Callers 4

getCatServerMethod · 0.95
getCatServerMethod · 0.95
getHeaderMethod · 0.95
getCatServerMethod · 0.95

Calls

no outgoing calls

Tested by 1

getHeaderMethod · 0.76