1 | static bool flipCoin() { |
2 | ret tossCoin(); |
3 | } |
4 | |
5 | |
6 | |
7 | static bool flipCoin(Random random) { |
8 | ret tossCoin(random); |
9 | } |
10 | |
11 | |
12 | |
13 | sbool flipCoin(double probability) { |
14 | ret tossCoin(probability); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035375 |
| Snippet name: | flipCoin - synonym of tossCoin |
| Eternal ID of this version: | #1035375/1 |
| Text MD5: | 4d07188c0628169c29fb00e335f679e2 |
| Author: | someone |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-03 13:13:49 |
| Source code size: | 186 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 399 / 413 |
| Referenced in: | [show references] |