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

7
LINES

< > BotCompany Repo | #1016986 // objectsWhereFieldGreaterThan

JavaX fragment (include)

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

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: 447 / 485
Referenced in: [show references]