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

11
LINES

< > BotCompany Repo | #1017071 // pairsWhereBBiggerThan

JavaX fragment (include)

static <A, B> L<Pair<A, B>> pairsWhereBBiggerThan(Collection<Pair<A, B>> c, O value) {
  new L<Pair<A, B>> l;
  for (Pair<A, B> p : unnull(c))
    if (p != null && cmp(p.b, value) > 0)
      l.add(p);
  ret l;
}

static <A, B> L<Pair<A, B>> pairsWhereBBiggerThan(O value, Collection<Pair<A, B>> c) {
  ret pairsWhereBBiggerThan(c, value);
}

Author comment

Began life as a copy of #1016986

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: #1017071
Snippet name: pairsWhereBBiggerThan
Eternal ID of this version: #1017071/3
Text MD5: 520473abd5215954ef5217222cf5d0ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-11 17:31:11
Source code size: 350 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 278 / 294
Version history: 2 change(s)
Referenced in: [show references]