Libraryless. Click here for Pure Java version (2599L/16K).
1 | static <A> bool removeAllExcept(Set<A> a, Collection<A> b) { |
2 | ret removeAllBut(a, b); |
3 | } |
4 | |
5 | static <A, B> bool removeAllExcept(Map<A, B> a, Collection<A> b) { |
6 | ret removeAllBut(a, b); |
7 | } |
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: | 204 / 275 |
Version history: | 1 change(s) |
Referenced in: | [show references] |