static <A> L<S> keysDeprefix(Map<S, A> map, S prefix) { new L<A> l; for (S s : keys(map)) if (startsWith(s, prefix)) l.add(s.substring(l(prefix))); ret l; }
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: | #1008431 |
Snippet name: | keysDeprefix - get only keys starting with a prefix (and drop it) |
Eternal ID of this version: | #1008431/1 |
Text MD5: | 116bb530708a6832d32bcf27321deab4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-15 15:31:59 |
Source code size: | 178 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 581 |
Referenced in: | [show references] |