static <A> int iteratorCount_int(Iterator<A> i) { int n = 0; if (i != null) while (i.hasNext()) { i.next(); ++n; } ret n; }
Began life as a copy of #1019727
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: | #1024442 |
Snippet name: | iteratorCount_int |
Eternal ID of this version: | #1024442/1 |
Text MD5: | 788d51f4d4d79e7527d0cb8605359528 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-12 20:22:25 |
Source code size: | 133 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 249 / 293 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024443 - iteratorCount_int_close |