Libraryless. Click here for Pure Java version (1711L/11K).
1 | static <A> CloseableIterableIterator<A> notNulls_closeableIterator(CloseableIterableIterator<A> it) {
|
2 | ret filterCloseableIterator(it, func(A a) -> bool { a != null });
|
3 | } |
Began life as a copy of #1018113
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023551 |
| Snippet name: | notNulls_closeableIterator - drop nulls from closeable iterator |
| Eternal ID of this version: | #1023551/1 |
| Text MD5: | bd74a93387f28c712dca3f21df15d711 |
| Transpilation MD5: | b3f421bb2b22a37f41f107b0459e2d4c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-06-28 00:39:06 |
| Source code size: | 173 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 482 / 595 |
| Referenced in: | [show references] |