static <A> A objectWhereIC(Collection<A> c, S field, S value) { if (c != null) for (A x : c) if (eqic_gen(getOpt(x, field), value)) ret x; null; }
Began life as a copy of #1004923
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020920 |
| Snippet name: | objectWhereIC - get first element that matches a string field (ignoring case) |
| Eternal ID of this version: | #1020920/3 |
| Text MD5: | 5f40b03d41255b890e09c773c82322d7 |
| 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:13:12 |
| Source code size: | 165 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 592 / 642 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |