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

7
LINES

< > BotCompany Repo | #1014936 // arrayOfType - synonym of makeArray - make array of specific type

JavaX fragment (include)

static <A> A[] arrayOfType(Class<A> type, int n) {
  ret makeArray(type, n);
}

static <A> A[] arrayOfType(int n, Class<A> type) {
  ret arrayOfType(type, n);
}

Author comment

Began life as a copy of #1003870

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: #1014936
Snippet name: arrayOfType - synonym of makeArray - make array of specific type
Eternal ID of this version: #1014936/1
Text MD5: e84f3b514f1c4880c73de9e3d22ae889
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 16:09:57
Source code size: 166 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 496 / 491
Referenced in: [show references]