Libraryless. Click here for Pure Java version (37L/1K).
static IntegerIterator integerIterator(int[] l) { ret l == null ? null : new IntegerIterator { int i = 0; public bool hasNext() { ret i < l.length; } public int next() { ret l[i++]; } }; }
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: | #1029302 |
Snippet name: | integerIterator |
Eternal ID of this version: | #1029302/2 |
Text MD5: | f67d30a41000df1f446faeb3a060044d |
Transpilation MD5: | 7906190b8283ce3ee35631549d4955fa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-30 13:20:17 |
Source code size: | 210 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 263 / 369 |
Version history: | 1 change(s) |
Referenced in: | [show references] |