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

6
LINES

< > BotCompany Repo | #1016750 // threadIDs_array

JavaX fragment (include)

1  
static long[] threadIDs_array(L<Thread> threads) {
2  
  long[] ids = new long[l(threads)];
3  
  for i over threads:
4  
    ids[i] = threads.get(i).getId();
5  
  ret ids;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016750
Snippet name: threadIDs_array
Eternal ID of this version: #1016750/2
Text MD5: 5ae66811e6e46561c5479d57a27cefd3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-30 21:38:29
Source code size: 164 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 472 / 499
Version history: 1 change(s)
Referenced in: [show references]