Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1016647 // totalByteCapacityOfStringBuilders

JavaX fragment (include)

static long totalByteCapacityOfStringBuilders(Iterable<StringBuilder> l) {
  long n = 0;
  for (StringBuilder s : unnull(l))
    if (s != null) n += s.capacity()*2;
  ret n;
}

Author comment

Began life as a copy of #1016645

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: #1016647
Snippet name: totalByteCapacityOfStringBuilders
Eternal ID of this version: #1016647/1
Text MD5: 3d14f8c71a322f7c2f36b8e90539d727
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:24:30
Source code size: 180 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 392
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016648 - totalByteCapacityOfStringBuffers