Libraryless. Click here for Pure Java version (2470L/16K).
1 | static <A> A withComputing(Runnable r, A a) { |
2 | callF(r); |
3 | ret a; |
4 | } |
5 | |
6 | static <A> A withComputing(A a, IVF1<A> r) { |
7 | callF(r, a); |
8 | ret a; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1022761 |
Snippet name: | withComputing - return second parameter after running first parameter. plus another version |
Eternal ID of this version: | #1022761/4 |
Text MD5: | f3d8462cea9f6548684eec5bbe2a8e05 |
Transpilation MD5: | 1aed17f89d73e07484556ba439a57d1e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-26 01:25:41 |
Source code size: | 148 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 340 / 466 |
Version history: | 3 change(s) |
Referenced in: | [show references] |