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

18
LINES

< > BotCompany Repo | #1005470 // ConceptL - concept with a list of concepts

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (18149L/112K).

sclass ConceptL extends Concept implements Iterable<Concept> {
  new RefL<Concept> l;
  
  *() {}
  *(L l) { main addAll(this.l, l); }
  
  void addAll(L l) {
    this.l.addAll(l);
  }
  
  public Iterator<Concept> iterator() {
    ret l.iterator();
  }
  
  public L<Concept> getList() {
    ret l;
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj

No comments. add comment

Snippet ID: #1005470
Snippet name: ConceptL - concept with a list of concepts
Eternal ID of this version: #1005470/2
Text MD5: 12237cf493fc8895ba611534946cec4c
Transpilation MD5: 9a8bd728247fd08e2df7b2ec596a645f
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-30 03:04:18
Source code size: 322 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 647 / 1556
Version history: 1 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)