static int randomIntBetween1And(int n) { ret 1+random(n); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026468 |
Snippet name: | randomIntBetween1And |
Eternal ID of this version: | #1026468/1 |
Text MD5: | fc9d76fe9784c338a5fc35c77165a59d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-05 03:25:35 |
Source code size: | 63 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 176 / 204 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |