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

5
LINES

< > BotCompany Repo | #1035729 // repIntArray

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (35L/1K).

static int[] repIntArray(int value, int n) {
  int[] a = new[n];
  for i to n: a[i] = value;
  ret a;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035729
Snippet name: repIntArray
Eternal ID of this version: #1035729/1
Text MD5: 48d57ab8824dbd686c71e4401958d027
Transpilation MD5: aa0ed1db8c25f4c00f59bf16a627ca26
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-14 21:56:23
Source code size: 107 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 151 / 202
Referenced in: [show references]