static <A> Map<A, S> trimValues(Map<A, S> map) { Map map2 = similarEmptyMap(map); for (A key : keys(map)) map2.put(key, trim(map.get(key))); ret map2; }
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: | #1004366 |
Snippet name: | trimValues - trim() values of a map |
Eternal ID of this version: | #1004366/1 |
Text MD5: | 12007642b419e27b3cc9fa423aad1510 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-14 15:43:37 |
Source code size: | 167 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 564 / 588 |
Referenced in: | [show references] |