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

7
LINES

< > BotCompany Repo | #1029426 // toLongArray

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

Libraryless. Click here for Pure Java version (2494L/16K).

static long[] toLongArray(Cl<Long> l) {
  long[] a = new[l(l)];
  int i = 0;
  if (a.length != 0) for (long x : l)
    a[i++] = x;
  ret a;
}

Author comment

Began life as a copy of #1004992

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: #1029426
Snippet name: toLongArray
Eternal ID of this version: #1029426/1
Text MD5: d6af5e3c0555039aa457e7c86382c8cc
Transpilation MD5: 1fbb8bf2069add99431950e6699d7579
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-05 22:06:21
Source code size: 147 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 158 / 243
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)