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)

static Cache<L<Statement>> loadTruth_cached_cache = new Cache(f loadTruth);

static L<Statement> loadTruth_cached() {
  ret loadTruth_cached_cache.get();
}

static void loadTruth_clearCache() {
  loadTruth_cached_cache.clear();
}

static void loadTruth_clearCache(double seconds) {
  loadTruth_cached_cache.clear(seconds);
}

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: 587 / 566
Version history: 3 change(s)
Referenced in: [show references]