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

5
LINES

< > BotCompany Repo | #1017800 // linkedHashSet_addWithAutoInit

JavaX fragment (include)

static <A> Set<A> linkedHashSet_addWithAutoInit(Set<A> set, A a) {
  if (set == null) set = new LinkedHashSet;
  set.add(a);
  ret set;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017800
Snippet name: linkedHashSet_addWithAutoInit
Eternal ID of this version: #1017800/6
Text MD5: 27f531078a01be1ab79a01d614362676
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-12 15:13:48
Source code size: 141 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 342 / 399
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)