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

3
LINES

< > BotCompany Repo | #1033299 // nonNullPairs

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

Libraryless. Click here for Pure Java version (3851L/22K).

1  
static <A, B> LPair<A, B> nonNullPairs(Iterable<Pair<A, B>> l) {
2  
  ret filter(l, p -> p != null && p.a != null && p.b != null);
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033299
Snippet name: nonNullPairs
Eternal ID of this version: #1033299/1
Text MD5: 28d8391041c2ac54529f22e2320d269e
Transpilation MD5: a3413008a4808c205d2dd026e2cc2e75
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-19 22:22:56
Source code size: 131 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 169 / 236
Referenced in: [show references]