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

5
LINES

< > BotCompany Repo | #1021803 // createOrAddToCISet

JavaX fragment (include)

1  
static Set<S> createOrAddToCISet(Set<S> set, S a) {
2  
  if (set == null) set = ciSet();
3  
  set.add(a);
4  
  ret set;
5  
}

Author comment

Began life as a copy of #1020941

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: #1021803
Snippet name: createOrAddToCISet
Eternal ID of this version: #1021803/3
Text MD5: 5e76cc927a561d2f7b7a851eab8d6e27
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-27 15:34:38
Source code size: 116 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 371
Version history: 2 change(s)
Referenced in: [show references]