1 | sclass Prog_If implements Runnable { |
2 | F0<Bool> condition; |
3 | Runnable trueBranch, falseBranch; |
4 | |
5 | public void run { |
6 | if (callF(condition)) |
7 | callF(trueBranch); |
8 | else |
9 | callF(falseBranch); |
10 | } |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020555 |
Snippet name: | Prog_If |
Eternal ID of this version: | #1020555/1 |
Text MD5: | 3d926589648e4a2f5408548ec87c87e1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-26 20:21:50 |
Source code size: | 219 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 276 / 785 |
Referenced in: | [show references] |