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

6
LINES

< > BotCompany Repo | #1012829 // countStringsLongerThan

JavaX fragment (include)

1  
static int countStringsLongerThan(Collection<S> l, int minLength) {
2  
  int n = 0;
3  
  if (l != null) for (S s : l)
4  
    if (l(s) > minLength) ++n;
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: #1012829
Snippet name: countStringsLongerThan
Eternal ID of this version: #1012829/1
Text MD5: 0a12298bbe88600babba8c354bc9f016
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-14 00:21:57
Source code size: 158 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 492
Referenced in: [show references]