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

7
LINES

< > BotCompany Repo | #1015976 // allCacheVars - try to find all cache variables in program (any variable ending with _cache, can be map, collection, Cache...)

JavaX fragment (include)

1  
static L<S> allCacheVars() {
2  
  ret allCacheVars(mc());
3  
}
4  
5  
static L<S> allCacheVars(O program) {
6  
  ret endingWith("_cache", allFields(program));
7  
}

Author comment

Began life as a copy of #1011099

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: #1015976
Snippet name: allCacheVars - try to find all cache variables in program (any variable ending with _cache, can be map, collection, Cache...)
Eternal ID of this version: #1015976/2
Text MD5: 3cf1688e61c26f81b66fd69199befe61
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-02 14:59:18
Source code size: 151 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 492 / 496
Version history: 1 change(s)
Referenced in: [show references]