Libraryless. Click here for Pure Java version (2971L/19K).
static L<Long> longIteratorToList(LongIterator it) { new LongBuffer buf; if (it != null) while (it.hasNext()) buf.add(it.next()); ret buf.asVirtualList(); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029766 |
Snippet name: | longIteratorToList |
Eternal ID of this version: | #1029766/1 |
Text MD5: | 5427ac6c61d5f36297f7e9be3de0135b |
Transpilation MD5: | a90c51f16faadef38fb49e40ab356fb6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-12 02:22:14 |
Source code size: | 166 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 178 / 258 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |