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

5
LINES

< > BotCompany Repo | #1002300 - setAdd

JavaX fragment (include)

static <A> bool setAdd(Collection<A> c, A a) {
  if (c == null || c.contains(a)) false;
  c.add(a);
  ret true;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002300
Snippet name: setAdd
Eternal ID of this version: #1002300/2
Text MD5: 2c920fc0041f811235bd274e6ba61d46
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-09 08:33:24
Source code size: 117 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 1324
Version history: 1 change(s)
Referenced in: [show references]