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

7
LINES

< > BotCompany Repo | #1017305 // ai_sortMatchPairs

JavaX fragment (include)

static L<PairS> ai_sortMatchPairs(L<PairS> l) {
  l = mapPairA(func(S s) -> S { replaceSuffix(">", "0>", s) }, l);
  l = pairsSortedByAComparator(alphaNumComparator(), l);
  //l = pairsSortedByA(l);
  l = mapPairA(func(S s) -> S { replaceSuffix("0>", ">", s) }, l);
  ret l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017305
Snippet name: ai_sortMatchPairs
Eternal ID of this version: #1017305/9
Text MD5: 0d3960473deafcb06f68a9c667678c33
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-16 16:13:31
Source code size: 282 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 395 / 433
Version history: 8 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)