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

5
LINES

< > BotCompany Repo | #1031247 // newMultiDimensionalOuterArray

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

Transpiled version (30L) is out of date.

static O newMultiDimensionalOuterArray(Class elementType, int dimensions, int length) {
  int[] dims = new[dimensions];
  dims[0] = length;
  ret Array.newInstance(elementType, dims);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031247
Snippet name: newMultiDimensionalOuterArray
Eternal ID of this version: #1031247/2
Text MD5: 9993d48dfe94049c4567f3534738b956
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-25 18:26:01
Source code size: 189 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 250
Version history: 1 change(s)
Referenced in: [show references]