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

3
LINES

< > BotCompany Repo | #1018113 // notNulls_iterator - drop nulls from iterator

JavaX fragment (include)

static <A> IterableIterator<A> notNulls_iterator(Iterator<A> it) {
  ret filterIterator(it, func(A a) -> bool { a != null });
}

Author comment

Began life as a copy of #1008560

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018113
Snippet name: notNulls_iterator - drop nulls from iterator
Eternal ID of this version: #1018113/1
Text MD5: d311fde8b5cb014e14440a2d232ec24b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-02 13:57:29
Source code size: 129 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 293 / 320
Referenced in: [show references]