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

7
LINES

< > BotCompany Repo | #1029478 // integerIteratorToList

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

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

static L<Int> integerIteratorToList(IntegerIterator it) {
  if (it == null) null;
  new L<Int> l;
  while (it.hasNext())
    l.add(it.next());
  ret l;
}

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: #1029478
Snippet name: integerIteratorToList
Eternal ID of this version: #1029478/1
Text MD5: d91aa99eabd5ad6f9384a30da59d060f
Transpilation MD5: 7bce8206a287d15a79e7ced6a988f461
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-13 15:45:40
Source code size: 159 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 116 / 193
Referenced in: [show references]