1 | static ItIt<Int> intArrayIterator(int[] l) { |
2 | ret l == null ? null : new ItIt<Int> { |
3 | int i = 0; |
4 | public bool hasNext() { ret i < l.length; } |
5 | public Int next() { ret l[i++]; } |
6 | }; |
7 | } |
Began life as a copy of #1029302
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: | #1029311 |
Snippet name: | intArrayIterator |
Eternal ID of this version: | #1029311/1 |
Text MD5: | 9fca0918d9c0b74e8783be28ad0a923e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-30 18:20:15 |
Source code size: | 199 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 199 / 227 |
Referenced in: | [show references] |