static int countOccurrences_id(Collection c, O x) { int n = 0; if (c != null) for (O o : c) if (o == x) ++n; ret n; }
Began life as a copy of #1004161
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: | #1008859 |
| Snippet name: | countOccurrences_id - uses == |
| Eternal ID of this version: | #1008859/1 |
| Text MD5: | 1e39fdb6990e398c0511588e905fd60d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-06-14 13:32:46 |
| Source code size: | 139 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 745 / 801 |
| Referenced in: | [show references] |