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

11
LINES

< > BotCompany Repo | #1020238 // Test syncExpiringMap

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

Download Jar. Libraryless. Click here for Pure Java version (7177L/51K).

1  
!7
2  
3  
set flag ExpiringMap2_debug.
4  
5  
p-exp {
6  
  Map<S> map = syncExpiringMap(5000);
7  
  repeat with sleep 1 {
8  
    map.put(localTimeWithSeconds(), localTimeWithMilliseconds());
9  
    printStruct(map);
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020238
Snippet name: Test syncExpiringMap
Eternal ID of this version: #1020238/5
Text MD5: 0547b3244e34f70518a68c7db8297807
Transpilation MD5: aeed7c7c2fe6a1a4fa3e5fbd2ef06f46
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-11 13:56:40
Source code size: 207 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 425 / 976
Version history: 4 change(s)
Referenced in: [show references]