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

4
LINES

< > BotCompany Repo | #1027549 // registerConcept - register a concept with mainConcepts

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

Libraryless. Click here for Pure Java version (15525L/100K).

static <A extends Concept> A registerConcept(Concepts cc default db_mainConcepts(), A c) {
  cc?.register(c);
  ret c;
}

Author comment

Began life as a copy of #1007237

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027549
Snippet name: registerConcept - register a concept with mainConcepts
Eternal ID of this version: #1027549/5
Text MD5: 12cd1031081297f4b78952e25d5dc38e
Transpilation MD5: 8d22cdd7a37f9b957cc5509be4a916ff
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-11 23:02:55
Source code size: 123 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 286 / 397
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027550 - unregisterConcept - delete a concept, but keep its id field set