static <A> A findWhere(Collection<A> c, O... data) { if (c != null) for (A x : c) if (checkFields(x, data)) ret x; ret null; }
Began life as a copy of #1004370
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1004923 |
Snippet name: | findWhere - get first element that matches a data condition (fields+values) |
Eternal ID of this version: | #1004923/2 |
Text MD5: | 5849acd1ec1a2aed655ade63a1a27d76 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-10 16:12:49 |
Source code size: | 145 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 652 / 641 |
Version history: | 1 change(s) |
Referenced in: | [show references] |