1 | static boolean containsWhere(Collection l, S field, O value) { |
2 | if (l != null) for (O x : l) |
3 | if (eq(getOpt(x, field), value)) |
4 | ret true; |
5 | ret false; |
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: | #1002601 |
Snippet name: | containsWhere |
Eternal ID of this version: | #1002601/2 |
Text MD5: | 76875e289b1dbce2762596b5e869179d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-06 12:33:42 |
Source code size: | 166 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 638 / 580 |
Version history: | 1 change(s) |
Referenced in: | [show references] |