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

7
LINES

< > BotCompany Repo | #1016986 // objectsWhereFieldGreaterThan

JavaX fragment (include)

static <A> L<A> objectsWhereFieldGreaterThan(Collection<A> c, S field, O value) {
  new L<A> l;
  for (A x : unnull(c))
    if (cmp(getOpt(x, field), value) > 0)
      l.add(x);
  ret l;
}

Author comment

Began life as a copy of #1016985

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: #1016986
Snippet name: objectsWhereFieldGreaterThan
Eternal ID of this version: #1016986/1
Text MD5: 1a32e3f7503ba23f8a9e59fa96808f96
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-09 20:56:20
Source code size: 194 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 334 / 375
Referenced in: [show references]