MCPcopy Create free account
hub / github.com/google/re2j / appendTail

Method appendTail

java/com/google/re2j/Matcher.java:554–557  ·  view source on GitHub ↗

Appends to sb the substring of the input from the append position to the end of the input. @param sb the StringBuffer to append to @return the argument sb, for method chaining

(StringBuffer sb)

Source from the content-addressed store, hash-verified

552 * @return the argument {@code sb}, for method chaining
553 */
554 public StringBuffer appendTail(StringBuffer sb) {
555 sb.append(substring(appendPos, inputLength));
556 return sb;
557 }
558
559 /**
560 * Appends to {@code sb} the substring of the input from the append position to the end of the

Calls 2

substringMethod · 0.95
appendMethod · 0.80