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

11
LINES

< > BotCompany Repo | #1009321 // dbLock - mainconcepts.lock

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

Libraryless. Click here for Pure Java version (13232L/90K).

1  
static Lock dbLock() {
2  
  ret db_mainConcepts().lock;
3  
}
4  
5  
static Lock dbLock(Concepts cc) {
6  
  ret cc?.lock;
7  
}
8  
9  
static Lock dbLock(Concept c) {
10  
  ret dbLock(c?._concepts);
11  
}

Author comment

Began life as a copy of #1006056

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: #1009321
Snippet name: dbLock - mainconcepts.lock
Eternal ID of this version: #1009321/5
Text MD5: f6bba551d979781cac65e191b373c68c
Transpilation MD5: b782a92eedaf06a2a1f6b7a63d3ffc46
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-17 16:24:36
Source code size: 180 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 455 / 528
Version history: 4 change(s)
Referenced in: [show references]