Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1002585 // keysSortedByValues

JavaX fragment (include)

1  
static <A, B> L<A> keysSortedByValues(final Map<A, B> map) {
2  
  L<A> l = new ArrayList(map.keySet());
3  
  sort(l, mapComparator(map));
4  
  ret l;
5  
}

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: #1002585
Snippet name: keysSortedByValues
Eternal ID of this version: #1002585/3
Text MD5: e1b0487cc1f702ba2940b6eb18ebd243
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-26 12:00:30
Source code size: 146 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 679 / 624
Version history: 2 change(s)
Referenced in: [show references]