Transpiled version (5978L) is out of date.
static <A> A nuLike too_thinkAndReturnFirstObjectOfType(Class<A> type, TransformersOnObjects too) { ret withDeepReturn(returnSite -> { too.addTransformer(func(O o) { if (isInstance(type, o)) deepReturn(returnSite, (A) o); null; }); too.think(); }); }
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: | #1028840 |
| Snippet name: | too_thinkAndReturnFirstObjectOfType |
| Eternal ID of this version: | #1028840/3 |
| Text MD5: | a16cb9653f148c61690d93d0f5866114 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-12 12:54:15 |
| Source code size: | 295 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 428 / 549 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |