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

8
LINES

< > BotCompany Repo | #1029363 // intArrayToPrimitive

JavaX fragment (include)

static int[] intArrayToPrimitive(Int[] l) {
  if (l == null) null;
  int n = l.length;
  int[] a = new[n];
  for i to n:
    a[i] = l[i];
  ret a;
}

Author comment

Began life as a copy of #1029362

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029363
Snippet name: intArrayToPrimitive
Eternal ID of this version: #1029363/1
Text MD5: 5ee40a0e31c5238c8ca05c7008e1a9b4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-02 16:22:21
Source code size: 155 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 129
Referenced in: [show references]