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

7
LINES

< > BotCompany Repo | #1005053 - filterNempty - only non-empty strings

JavaX fragment (include)

static L<S> filterNempty(Collection<S> c) {
  new L<S> l;
  for (S x : unnull(c))
    if (nempty(x))
      l.add(x);
  ret l;
}

Author comment

Began life as a copy of #1004806

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005053
Snippet name: filterNempty - only non-empty strings
Eternal ID of this version: #1005053/2
Text MD5: b62d7d229b197fee975ea8fa04200497
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-06 21:30:46
Source code size: 133 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 382
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005053 & http://1005053.tinybrain.de