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

5
LINES

< > BotCompany Repo | #1002287 // lithashset

JavaX fragment (include)

static <A> HashSet<A> lithashset(A... items) {
  new HashSet<A> set;
  for (A a : items) set.add(a);
  ret set;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1002287
Snippet name: lithashset
Eternal ID of this version: #1002287/1
Text MD5: 1e28ed4da7ac5bb4346eb9f866de18a9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-02 20:18:26
Source code size: 117 bytes / 5 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 609 / 1222
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1003051 - littreeset
#1005699 - litset - synonym of lithashset
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1010590 - litorderedset
#3000382 - Answer for ferdie (>> t = 1, f = 0)