Libraryless. Click here for Pure Java version (49L/1K).
sS withStringBuilder(IVF1<StringBuilder> f) { new StringBuilder buf; if (f != null) f.get(buf); ret str(buf); } sS withStringBuilder(int expectedLength, IVF1<StringBuilder> f) { StringBuilder buf = new(expectedLength); if (f != null) f.get(buf); ret str(buf); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029122 |
Snippet name: | withStringBuilder |
Eternal ID of this version: | #1029122/2 |
Text MD5: | b3ea8d901f63b1b08da6d47a83e200e8 |
Transpilation MD5: | bc56988ac13c7bb172ca36f05cd8770e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-01 16:07:45 |
Source code size: | 284 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 199 / 293 |
Version history: | 1 change(s) |
Referenced in: | [show references] |