Libraryless. Click here for Pure Java version (2853L/17K).
1 | static Runnable rEnter(O objectToEnter, Runnable r) {
|
2 | if (objectToEnter == null || r == null) null; |
3 | ret r {
|
4 | temp tempEnter(objectToEnter); |
5 | r.run(); |
6 | }; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031603 |
| Snippet name: | rEnter |
| Eternal ID of this version: | #1031603/2 |
| Text MD5: | f3fab675118b620a88995ee90269c061 |
| Transpilation MD5: | 49f12ac3a3d4bd7b036de874f4ef0f4e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-22 09:11:43 |
| Source code size: | 172 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 382 / 501 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |