static <A, B> T3<A, B, O> worksOnAllExamples_returnCounterExample(F1<A, B> f, Iterable<Pair<A, B>> examples, F2<O, O, Bool> equalsFunction) { for (Pair<A, B> p : unnull(examples)) try { O o = callF(f, p.a); if (!callF(equalsFunction, p.b, o)) ret t3(p.a, p.b, o); } catch e { printShortException(e); ret t3(p.a, p.b, (O) e); } null; }
Began life as a copy of #1017164
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017172 |
Snippet name: | worksOnAllExamples_returnCounterExample |
Eternal ID of this version: | #1017172/5 |
Text MD5: | 00aaa21c482661872508db4ab91bd2bc |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-13 16:42:17 |
Source code size: | 374 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 382 / 419 |
Version history: | 4 change(s) |
Referenced in: | [show references] |