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

3
LINES

< > BotCompany Repo | #1032991 // newGenericArray

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

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

static <A> A[] newGenericArray(int n) {
  ret (A[]) new O[n];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032991
Snippet name: newGenericArray
Eternal ID of this version: #1032991/2
Text MD5: f3d03357225f9cf46a77900e54f1f264
Transpilation MD5: 095284ee2cc426fa3b87253e1b205e8a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 08:22:31
Source code size: 65 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 167 / 234
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035144 - newFloatArray