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

5
LINES

< > BotCompany Repo | #1026241 // llNempties

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

Libraryless. Click here for Pure Java version (2139L/14K).

static LS llNempties(S... a) {
  ArrayList l = new(a.length);
  if (a != null) for (S x : a) if (nempty(x)) l.add(x);
  ret l;
}

Author comment

Began life as a copy of #1023568

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026241
Snippet name: llNempties
Eternal ID of this version: #1026241/1
Text MD5: 90b01346cbd1fd0e7f519103bbc5cfd8
Transpilation MD5: 9cdcfbbd3a5fd4817f7fe2ac0f9ae80d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-07 16:49:17
Source code size: 132 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 220
Referenced in: [show references]