static bool hasWhere(Collection c, O... data) { for (O x : c) if (checkFields(x, data)) ret true; ret false; }
Began life as a copy of #1003171
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: | #1003173 |
Snippet name: | hasWhere |
Eternal ID of this version: | #1003173/1 |
Text MD5: | 45632b45539ac7da4edbe0f5fdcc4796 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-05-21 02:58:01 |
Source code size: | 129 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 693 / 654 |
Referenced in: | #1003903 - countWhere - count elements that match a data condition (fields+values) #1004337 - deleteWhere - delete elements of a collection matching certain fields #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023561 - hasWhereCI |