Transpiled version (5978L) is out of date.
1 | static <A> A nuLike too_thinkAndReturnFirstObjectOfType(Class<A> type, TransformersOnObjects too) { |
2 | ret withDeepReturn(returnSite -> { |
3 | too.addTransformer(func(O o) { |
4 | if (isInstance(type, o)) |
5 | deepReturn(returnSite, (A) o); |
6 | null; |
7 | }); |
8 | too.think(); |
9 | }); |
10 | } |
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: | 198 / 275 |
Version history: | 2 change(s) |
Referenced in: | [show references] |