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


< > BotCompany Repo | #1006092 - listMinusList - list minus some elements

JavaX fragment (include)

static <A> L<A> listMinusList(Collection<A> l, Collection stuff) {
  if (empty(stuff) && l instanceof L) ret (L) l;
  L<A> l2 = cloneList(l);
  for (O o : stuff)
  ret l2;

Author comment

Began life as a copy of #1004283

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, sawdedvomwva, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1006092
Snippet name: listMinusList - list minus some elements
Eternal ID of this version: #1006092/3
Text MD5: 8559acf446fb769f553d47a28ca9fc60
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-11 19:14:55
Source code size: 197 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 288 / 348
Version history: 2 change(s)
Referenced in: [show references]