Libraryless. Click here for Pure Java version (2666L/17K).
scope javaTokForJFind_array. ifdef javaTokForJFind_array_simpleCache static HashMap<S, S[]> #cache = new HashMap; endifdef ifndef javaTokForJFind_array_simpleCache static Map<S, S[]> #cache = synchronizedMRUCache(1000); endifndef static S[] javaTokForJFind_array(S s) { S[] tok = cache.get(s); if (tok == null) cache.put(s, tok = codeTokensAsStringArray(jfind_preprocess(javaTok(s))); ret tok; } end scope
Began life as a copy of #1021948
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021951 |
Snippet name: | javaTokForJFind_array - code tokens as array |
Eternal ID of this version: | #1021951/2 |
Text MD5: | abd82189dd3d86838d28cbf1554ec651 |
Transpilation MD5: | d90ba1bdd64967e30e894f476c09ff8a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-08 01:12:54 |
Source code size: | 438 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 324 / 444 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |