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)
| 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 |