MCPcopy
hub / github.com/google/guava / on

Method on

guava/src/com/google/common/base/Joiner.java:69–71  ·  view source on GitHub ↗

Returns a joiner which automatically places {@code separator} between consecutive elements.

(String separator)

Source from the content-addressed store, hash-verified

67public class Joiner {
68 /** Returns a joiner which automatically places {@code separator} between consecutive elements. */
69 public static Joiner on(String separator) {
70 return new Joiner(separator);
71 }
72
73 /** Returns a joiner which automatically places {@code separator} between consecutive elements. */
74 public static Joiner on(char separator) {

Callers 15

toStringMethod · 0.95
captureAsTypeVariableMethod · 0.95
TypesClass · 0.95
simplifyPathMethod · 0.95
toStringMethod · 0.95
MediaTypeClass · 0.95
JoinerBenchmarkClass · 0.95
toStringMethod · 0.95
getTypesStringMethod · 0.95
testJoinMethod · 0.95

Calls 1

valueOfMethod · 0.45

Tested by 15

toStringMethod · 0.76
getTypesStringMethod · 0.76
testJoinMethod · 0.76
testJoin_emptyMethod · 0.76
testGetClassPathUrlsMethod · 0.76
testOnCharOverrideMethod · 0.76
test_useForNull_twiceMethod · 0.76