Libraryless. Click here for Pure Java version (9110L/50K).
static long collab_computeLong2(ICollab collab, IVF1<LongConsumer> work) { new Var<Long> var; work.get(result -> { var.set(result); collab.done(); }); collab.run(); ret var!; }
Began life as a copy of #1035576
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035580 |
Snippet name: | collab_computeLong2 |
Eternal ID of this version: | #1035580/1 |
Text MD5: | b91752e6fc690033e73ee44044a343d6 |
Transpilation MD5: | 2963b971b9cd4d6e3f0c2c0c1098de32 |
Author: | stefan |
Category: | javax / parallelization |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-19 00:28:42 |
Source code size: | 202 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 128 / 154 |
Referenced in: | [show references] |