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

7
LINES

< > BotCompany Repo | #1018888 // sortedByToStringIC

JavaX fragment (include)

static <A> L<A> sortedByToStringIC(Collection<A> l) {
  ret sortedByComparator(l, new Comparator<A>() {
    public int compare(A a, A b) {
      ret compareIC(str(a), str(b));
    }
  });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018888
Snippet name: sortedByToStringIC
Eternal ID of this version: #1018888/1
Text MD5: 5c1c70571b5bb9903e1ad601718036c4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-15 15:23:04
Source code size: 195 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 332 / 377
Referenced in: [show references]