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

3
LINES

< > BotCompany Repo | #1023799 // typedArray

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

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

static <A> A[] typedArray(Class<A> c, int n) {
  ret (A[]) Array.newInstance(c, n);
}

Author comment

Began life as a copy of #1012776

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023799
Snippet name: typedArray
Eternal ID of this version: #1023799/2
Text MD5: a821f6b348e10fefa1cc76a57ff685e1
Transpilation MD5: 54812006e09bfa22c3ebe065f84db96c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-09 03:38:28
Source code size: 87 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 211 / 327
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)