Libraryless. Click here for Pure Java version (2971L/19K).
1 | static L<Long> longIteratorToList(LongIterator it) { |
2 | new LongBuffer buf; |
3 | if (it != null) while (it.hasNext()) buf.add(it.next()); |
4 | ret buf.asVirtualList(); |
5 | } |
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: | 177 / 258 |
Referenced in: | [show references] |