static int countNotNull(Collection c) { int n = 0; if (c != null) for (O a : c) if (a != null) ++n; ret n; }
Began life as a copy of #1010440
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: | #1010969 |
Snippet name: | countNotNull |
Eternal ID of this version: | #1010969/1 |
Text MD5: | a64a5e12f910f54ab2e9f0df1ffdaed6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-10 19:45:11 |
Source code size: | 123 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 483 / 509 |
Referenced in: | [show references] |