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

7
LINES

< > BotCompany Repo | #1030249 // removeAllExcept - synonym of removeAllBut

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2599L/16K).

static <A> bool removeAllExcept(Set<A> a, Collection<A> b) {
  ret removeAllBut(a, b);
}

static <A, B> bool removeAllExcept(Map<A, B> a, Collection<A> b) {
  ret removeAllBut(a, b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030249
Snippet name: removeAllExcept - synonym of removeAllBut
Eternal ID of this version: #1030249/2
Text MD5: 9c3283e5540190c741b8a957df363af6
Transpilation MD5: c6f9efcd87dc653828be2407c437f700
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-20 16:45:40
Source code size: 190 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 205 / 277
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030250 - syncRemoveAllExcept