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

9
LINES

< > BotCompany Repo | #1022117 // addNotNulls - synonym of addAllNonNulls

JavaX fragment (include)

1  
static <A, B extends A> void addNotNulls(Collection<A> c, Iterable<B> b) {
2  
  addAllNonNulls(c, b);
3  
}
4  
5  
6  
7  
static <A, B extends A> void addNotNulls(Collection<A> c, B... b) {
8  
  addAllNonNulls(c, b);
9  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022117
Snippet name: addNotNulls - synonym of addAllNonNulls
Eternal ID of this version: #1022117/1
Text MD5: 62f1fb8122f9c9f87e94686ef17e2e1d
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-07 23:06:21
Source code size: 199 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 298 / 335
Referenced in: [show references]