Libraryless. Click here for Pure Java version (2208L/14K).
static <A> A firstTransformersResult(L<IF1<A>> transformers, A a) { fOr (IF1<A> f : transformers) if (f != null) { A b = f.get(a); if (b != null && b != a) ret b; } ret a; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027151 |
Snippet name: | firstTransformersResult |
Eternal ID of this version: | #1027151/1 |
Text MD5: | df82524d52aeb7242f0f8e897fb28f43 |
Transpilation MD5: | 11ee26a5907f357a53f67c198ea9f575 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 16:17:34 |
Source code size: | 213 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 177 / 265 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027177 - firstTransformersResult_trailEnabled |