1 | static bool containsExactObject(Collection c, O o) { |
2 | if (c != null) |
3 | for (O x : c) |
4 | if (x == o) |
5 | true; |
6 | false; |
7 | } |
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: | #1010627 |
Snippet name: | containsExactObject - check if collection contains an exact object (==) |
Eternal ID of this version: | #1010627/1 |
Text MD5: | faf777251813511d597b2c569dcef3b6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-23 20:40:14 |
Source code size: | 136 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 463 / 517 |
Referenced in: | [show references] |