Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1025072 // arrayOfRandomShorts

JavaX fragment (include)

static short[] arrayOfRandomShorts(int n) {
  short[] a = new short[n];
  for i to n: a[i] = randomShort();
  ret a;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025072
Snippet name: arrayOfRandomShorts
Eternal ID of this version: #1025072/1
Text MD5: ba6fafafae5ba29dfc10d407c2e27d1c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-05 12:25:00
Source code size: 122 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 194
Referenced in: [show references]