scope javaTokC_cached. static Map<S, LS> #cache = synchronizedMRUCache(defaultTokenizerCacheSize()); static L<S> javaTokC_cached(S s) { LS tok = cache.get(s); if (tok == null) cache.put(s, tok = javaTokC(s)); ret tok; } end scope
Began life as a copy of #1021365
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025298 |
Snippet name: | javaTokC_cached |
Eternal ID of this version: | #1025298/1 |
Text MD5: | b1380b76775e90abaf71f949cace9ec2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-20 13:26:25 |
Source code size: | 248 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 227 / 266 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028078 - javaTokWithAllBrackets_cached |