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

4
LINES

< > BotCompany Repo | #1011263 // sortByMap_inPlace - sort list according to map

JavaX fragment (include)

1  
static <A> L<A> sortByMap_inPlace(L<A> l, Map<A, ?> map) {
2  
  sort(l, mapComparator(map));
3  
  ret l;
4  
}

Author comment

Began life as a copy of #1009454

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: #1011263
Snippet name: sortByMap_inPlace - sort list according to map
Eternal ID of this version: #1011263/1
Text MD5: 98af8d4e90a600d76821970320b005d6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-21 21:39:44
Source code size: 103 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 440 / 456
Referenced in: [show references]