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

11
LINES

< > BotCompany Repo | #1013649 // ai_triplesToCRefs

JavaX fragment (include)

static L<TripleRef<Symbol>> ai_triplesToCRefs(final L<TripleWeb> l) {
  if (l == null) null;
  class TTCR extends LazyList<TripleRef<Symbol>> {
    final int n = l(l);
    public int size() { ret n; }
    public TripleRef<Symbol> get(int i) {
      ret TripleC(syncGet(l, i));
    }
  }
  ret new TTCR;
}

Author comment

Began life as a copy of #1012649

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: #1013649
Snippet name: ai_triplesToCRefs
Eternal ID of this version: #1013649/3
Text MD5: e267d14f826f6a71bb73b854648667c3
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-13 21:12:49
Source code size: 314 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 448
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)