static IterableIterator emptyIterableIterator_instance = new IterableIterator { public O next() { fail(); } public bool hasNext() { false; } }; static <A> IterableIterator<A> emptyIterableIterator() { ret emptyIterableIterator_instance; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011464 |
Snippet name: | emptyIterableIterator |
Eternal ID of this version: | #1011464/3 |
Text MD5: | 83e76d3f058fabee55275525794dd759 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-29 21:14:25 |
Source code size: | 253 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 458 / 511 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014178 - iterableIterator - convert Iterator or Collection to IterableIterator #1017248 - emptyCloseableIterableIterator |