Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1023551 // notNulls_closeableIterator - drop nulls from closeable iterator

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1711L/11K).

static <A> CloseableIterableIterator<A> notNulls_closeableIterator(CloseableIterableIterator<A> it) {
  ret filterCloseableIterator(it, func(A a) -> bool { a != null });
}

Author comment

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: 176 / 233
Referenced in: [show references]