1 | svoid clearStringBuffer(StringBuffer buf) { |
2 | if (buf != null) { |
3 | buf.setLength(0); |
4 | buf.trimToSize(); |
5 | } |
6 | } |
Began life as a copy of #1016650
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016735 |
Snippet name: | clearStringBuffer - also releases memory |
Eternal ID of this version: | #1016735/4 |
Text MD5: | 43f5dec00a153ee5fa997920081d1337 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-30 15:56:38 |
Source code size: | 119 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 402 / 449 |
Version history: | 3 change(s) |
Referenced in: | [show references] |