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

12
LINES

< > BotCompany Repo | #1008616 // ConceptFieldIndex

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

Libraryless. Click here for Pure Java version (19601L/120K).

sclass ConceptFieldIndex<A extends Concept, Val> extends ConceptFieldIndexBase<A, Val> {
  *(Class<A> cc, S field) { super(cc, field); }
  *(Concepts concepts, Class<A> cc, S field) { super(concepts, cc, field); }

  void init {
    valueToObject = new MultiSetMap;
  }
  
  void register {
    concepts.addFieldIndex(cc, field, this);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008616
Snippet name: ConceptFieldIndex
Eternal ID of this version: #1008616/26
Text MD5: 765875453e8883ad5e11ea249e15f5fc
Transpilation MD5: 932d2ce8194b91dbb419c4209bcd046b
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-03 22:10:04
Source code size: 352 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 649 / 1789
Version history: 25 change(s)
Referenced in: #1013539 - ConceptFieldIndexDesc - uses TreeMap
#1014416 - ConceptFieldIndexCI - new version with MultiSetMap
#1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)