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

6
LINES

< > BotCompany Repo | #1002010 // totalLengthOfCodeTokens

JavaX fragment (include)

1  
static int totalLengthOfCodeTokens(L<S> tok) {
2  
  int n = 0;
3  
  for (int i = 1; i < l(tok); i += 2)
4  
    n += l(tok.get(i));
5  
  ret n;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002010
Snippet name: totalLengthOfCodeTokens
Eternal ID of this version: #1002010/1
Text MD5: 4df3d1db812acdfdf1e00f508bcd2f54
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-13 17:45:33
Source code size: 137 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 638 / 847
Referenced in: [show references]