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 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

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: 481 / 525
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013202 - nempties - synonym of filterNempty - only non-empty strings
#1014355 - filterMinLength
#1020086 - nemptyCollections - only non-empty collections