Libraryless. Click here for Pure Java version (2562L/16K).
1 | scope javaTokNPunctuationWithBrackets_cached. |
2 | |
3 | static Map<S, LS> #cache = synchronizedMRUCache(defaultTokenizerCacheSize()); |
4 | |
5 | static L<S> javaTokNPunctuationWithBrackets_cached(S s) {
|
6 | LS tok = cache.get(s); |
7 | if (tok == null) cache.put(s, tok = javaTokNPunctuationWithBrackets(s)); |
8 | ret tok; |
9 | } |
10 | |
11 | end scope |
Began life as a copy of #1021253
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1021365 |
| Snippet name: | javaTokNPunctuationWithBrackets_cached |
| Eternal ID of this version: | #1021365/4 |
| Text MD5: | a4ce445a6fa2f4b9705893c1bb39dae5 |
| Transpilation MD5: | c6a2ffd34b58afff0300b6bd3ab67ed2 |
| 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:14:50 |
| Source code size: | 317 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 665 / 769 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |