static long totalByteSizeOfCharSequences(Iterable<? extends CharSequence> l) { long n = 0; for (CharSequence s : unnull(l)) n += l(s)*2; ret n; }
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: | #1016645 |
Snippet name: | totalByteSizeOfCharSequences - works correctly for StringBuffer etc. (not for String) |
Eternal ID of this version: | #1016645/2 |
Text MD5: | 74f652a08045e43395406edf75b12991 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-26 15:21:39 |
Source code size: | 160 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 309 / 339 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1016647 - totalByteCapacityOfStringBuilders |