static <A> A nextFromIterator(Iterator<A> it) { ret it == null || !it.hasNext() ? null : it.next(); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027214 |
Snippet name: | nextFromIterator - null if ended |
Eternal ID of this version: | #1027214/1 |
Text MD5: | cf154b52969bed7b645dd99f6f044158 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-26 12:22:10 |
Source code size: | 105 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 215 / 264 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |