Libraryless. Click here for Pure Java version (1954L/12K).
1 | static Set expiringSet(long standardExpiryTime) { |
2 | ret Collections.newSetFromMap((Map) syncExpiringMap(standardExpiryTime)); |
3 | } |
4 | |
5 | static Set expiringSet(double standardExpirySeconds) { |
6 | ret Collections.newSetFromMap((Map) syncExpiringMap(standardExpirySeconds)); |
7 | } |
Began life as a copy of #1019885
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: | #1023395 |
Snippet name: | expiringSet - set with timeout, synchronized |
Eternal ID of this version: | #1023395/3 |
Text MD5: | 9e27c10972baa38b8c7c80daf9c55401 |
Transpilation MD5: | 721cf7215b6587ec4baf9461f6688b80 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-05 13:31:59 |
Source code size: | 270 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 307 / 419 |
Version history: | 2 change(s) |
Referenced in: | [show references] |