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

8
LINES

< > BotCompany Repo | #1018176 // Get size of syncMRUCache (OK, -> maxSizeOfMRUCache)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5658L/40K).

1  
!7
2  
3  
p-exp {
4  
  Map cache = syncMRUCache(100);
5  
  Map unwrapped = unwrapSynchronizedMap(cache);
6  
  assertNotNull(unwrapped);
7  
  assertEqualsVerbose(100, getOpt_raw(unwrapped, 'maxSize));
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018176
Snippet name: Get size of syncMRUCache (OK, -> maxSizeOfMRUCache)
Eternal ID of this version: #1018176/6
Text MD5: eabc0d89b998efaa05a9f87098df196d
Transpilation MD5: 6bbd11a58ae8e957ae5d13bdc5b9f89d
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-07 15:32:15
Source code size: 190 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 972
Version history: 5 change(s)
Referenced in: [show references]