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

5
LINES

< > BotCompany Repo | #1002585 // keysSortedByValues

JavaX fragment (include)

static <A, B> L<A> keysSortedByValues(final Map<A, B> map) {
  L<A> l = new ArrayList(map.keySet());
  sort(l, mapComparator(map));
  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: #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: 599 / 541
Version history: 2 change(s)
Referenced in: [show references]