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

13
LINES

< > BotCompany Repo | #1007525 // loadTruth_cached - get statements from Truth Table as L<Statement> (cached)

JavaX fragment (include)

1  
static Cache<L<Statement>> loadTruth_cached_cache = new Cache(f loadTruth);
2  
3  
static L<Statement> loadTruth_cached() {
4  
  ret loadTruth_cached_cache.get();
5  
}
6  
7  
static void loadTruth_clearCache() {
8  
  loadTruth_cached_cache.clear();
9  
}
10  
11  
static void loadTruth_clearCache(double seconds) {
12  
  loadTruth_cached_cache.clear(seconds);
13  
}

Author comment

Began life as a copy of #1007422

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: #1007525
Snippet name: loadTruth_cached - get statements from Truth Table as L<Statement> (cached)
Eternal ID of this version: #1007525/4
Text MD5: 1e4efa9b8647fbb557b8fb3c633712d4
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-29 12:40:06
Source code size: 336 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 589 / 568
Version history: 3 change(s)
Referenced in: [show references]