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

3
LINES

< > BotCompany Repo | #1009410 - addIfNotThere - synonym of setAdd

JavaX fragment (include)

static <A> bool addIfNotThere(Collection<A> c, A a) {
  ret setAdd(c, a);
}

Author comment

Began life as a copy of #1002300

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009410
Snippet name: addIfNotThere - synonym of setAdd
Eternal ID of this version: #1009410/1
Text MD5: 3c52472e67bd78afdb1888d4f9366edd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-31 20:15:50
Source code size: 77 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 332 / 345
Referenced in: [show references]

Formerly at http://tinybrain.de/1009410 & http://1009410.tinybrain.de