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

6
LINES

< > BotCompany Repo | #1005269 // setMinus - set minus some elements

JavaX fragment (include)

static <A> Set<A> setMinus(Set<A> set, O... stuff) {
  Set s2 = cloneSet(set);
  for (O o : stuff)
    s2.remove(o);
  ret s2;
}

Author comment

Began life as a copy of #1004283

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005269
Snippet name: setMinus - set minus some elements
Eternal ID of this version: #1005269/1
Text MD5: cf1b44745680e8bbf6529d11dd26a3d9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-27 22:56:36
Source code size: 133 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 561 / 526
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)