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

3
LINES

< > BotCompany Repo | #1025860 // whereFieldNempty

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

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

1  
static <A> L<A> mapMethodLike whereFieldNempty(S field, Iterable<A> l) {
2  
  ret filter(l, o -> nempty(getOpt(o, field)));
3  
}

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: #1025860
Snippet name: whereFieldNempty
Eternal ID of this version: #1025860/1
Text MD5: 17e3675c809ac4a4a8728a9bda2c963d
Transpilation MD5: c83c759745053d19872b306e3f6d68b3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-27 14:47:10
Source code size: 124 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 230 / 322
Referenced in: [show references]