A small mutable string-builder abstraction wrapping java.lang.StringBuilder. Kept behind this namespace so the underlying implementation can be swapped out later without touching call sites.
A small mutable string-builder abstraction wrapping java.lang.StringBuilder. Kept behind this namespace so the underlying implementation can be swapped out later without touching call sites.
(append sb s)Appends a string or char to the builder and returns the builder.
Appends a string or char to the builder and returns the builder.
(build sb)Returns the accumulated string.
Returns the accumulated string.
(create-string-builder)(create-string-builder capacity)Creates a new, empty string builder. An initial capacity may be given as a hint.
Creates a new, empty string builder. An initial capacity may be given as a hint.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |