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

7
LINES

< > BotCompany Repo | #1011513 // repArray - synonym of arrayrep - repeat elements as an array

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

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

1  
static O[] repArray(O a, int n) {
2  
  ret arrayrep(a, n);
3  
}
4  
5  
static <A> A[] nuLike repArray(Class<A> type, A a, int n) {
6  
  ret arrayrep(type, a, n);
7  
}

Author comment

Began life as a copy of #1004057

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011513
Snippet name: repArray - synonym of arrayrep - repeat elements as an array
Eternal ID of this version: #1011513/3
Text MD5: 632c30367fc74c77022b738e500444b8
Transpilation MD5: 9c6d1d6e886c6d36fba2b1b26afc3c95
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-29 20:13:02
Source code size: 154 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 489 / 545
Version history: 2 change(s)
Referenced in: [show references]