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

7
LINES

< > BotCompany Repo | #1017204 // lengthOfPairBListComparator

JavaX fragment (include)

static <A, B> Comparator<Pair<A, L<B>>> lengthOfPairBListComparator() {
  ret new Comparator<Pair<A, L<B>>>() {
    public int compare(Pair<A, L<B>> a, Pair<A, L<B>> b) {
      ret cmp(l(a.b), l(b.b));
    }
  };
}

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: #1017204
Snippet name: lengthOfPairBListComparator
Eternal ID of this version: #1017204/3
Text MD5: 2bd6191e58e03ba17daf468033fd9808
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 20:32:35
Source code size: 220 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 377 / 420
Version history: 2 change(s)
Referenced in: [show references]