MCPcopy Create free account
hub / github.com/ReadyTalk/avian / infuse

Method infuse

classpath/java/lang/String.java:563–573  ·  view source on GitHub ↗
(String infuseWith)

Source from the content-addressed store, hash-verified

561 }
562
563 private String infuse(String infuseWith) {
564 StringBuilder retVal = new StringBuilder();
565
566 String me = this;
567 for (int i = 0; i < me.length(); i++) {
568 retVal.append(infuseWith).append(me.substring(i, i + 1));
569 }
570
571 retVal.append(infuseWith);
572 return retVal.toString();
573 }
574
575 public native String intern();
576

Callers 1

replaceMethod · 0.95

Calls 5

lengthMethod · 0.95
appendMethod · 0.95
substringMethod · 0.95
toStringMethod · 0.95
appendMethod · 0.65

Tested by

no test coverage detected