static long totalByteCapacityOfStringBuffers_generic(Iterable l) { long n = 0; for (O s : unnull(l)) if (s != null) n += toInt(callOpt(s, 'capacity))*2; ret n; }
Began life as a copy of #1016648
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020455 |
Snippet name: | totalByteCapacityOfStringBuffers_generic - also takes NotifyingStringBuffers |
Eternal ID of this version: | #1020455/1 |
Text MD5: | 989128614f5c6241448e3cf67f476d03 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-22 20:28:30 |
Source code size: | 176 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 238 / 279 |
Referenced in: | [show references] |