Libraryless. Click here for Pure Java version (37L/1K).
1 | static L<Int> integerIteratorToList(IntegerIterator it) { |
2 | if (it == null) null; |
3 | new L<Int> l; |
4 | while (it.hasNext()) |
5 | l.add(it.next()); |
6 | ret l; |
7 | } |
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: | 176 / 276 |
Referenced in: | [show references] |