static <K, V> Map<K, V> dropKeys(L<K> keys, Map<K, V> map) { Map<K, V> map2 = cloneMap(map); for (K key : keys) map2.remove(key); ret map2; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002560 |
| Snippet name: | dropKeys - drop elements of a map |
| Eternal ID of this version: | #1002560/1 |
| Text MD5: | 8856b373a1ad5fa17e871f199a5601c3 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-02-02 01:07:01 |
| Source code size: | 156 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 905 / 906 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009134 - dropKeysStartingWith - drop elements of a map with keys starting with X #3000382 - Answer for ferdie (>> t = 1, f = 0) |