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

6
LINES

< > BotCompany Repo | #1012387 // withoutEmpties

JavaX fragment (include)

static L<S> withoutEmpties(Collection<S> l) {
  new L<S> out;
  for (S s : unnull(l))
    if (nempty(s)) out.add(s);
  ret out;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012387
Snippet name: withoutEmpties
Eternal ID of this version: #1012387/1
Text MD5: 1cd6f903163b2ebfbd4c5d12ce98c878
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-29 13:41:32
Source code size: 134 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 354
Referenced in: [show references]