1 | static <A, B> L<A> sortedKeys(Map<A, B> map) { |
2 | ret sorted(keys(map)); |
3 | } |
4 | |
5 | static L sortedKeys(O map) { |
6 | ret sorted(keys(map)); |
7 | } |
8 | |
9 | ifclass MultiSet |
10 | static <A> L<A> sortedKeys(MultiSet<A> ms) { |
11 | ret sorted(keys(ms)); |
12 | } |
13 | endif |
14 | |
15 | ifclass MultiMap |
16 | static <A, B> L<A> sortedKeys(MultiMap<A, B> mm) { |
17 | ret sorted(keys(mm)); |
18 | } |
19 | endif |
Began life as a copy of #1002042
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: | #1011316 |
Snippet name: | sortedKeys function |
Eternal ID of this version: | #1011316/2 |
Text MD5: | 2b1c28c6b0b85367e046502af9ffd9dc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-24 02:03:34 |
Source code size: | 356 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 504 / 487 |
Version history: | 1 change(s) |
Referenced in: | [show references] |