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

9
LINES

< > BotCompany Repo | #1012465 // ai_triplesSortedByDescCreationDate

JavaX fragment (include)

static L<TripleWeb> ai_triplesSortedByDescCreationDate(Collection<TripleWeb> l) {
  L<TripleWeb> l2 = cloneList(l);
  sort(l2, new Comparator<TripleWeb>() {
    public int compare(TripleWeb a, TripleWeb b) {
      ret sign(b.created_compact-a.created_compact);
    }
  });
  ret l2;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012465
Snippet name: ai_triplesSortedByDescCreationDate
Eternal ID of this version: #1012465/3
Text MD5: b106aded00cf0257e222aaf8e4071e04
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-26 05:29:40
Source code size: 292 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 324 / 344
Version history: 2 change(s)
Referenced in: [show references]