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

9
LINES

< > BotCompany Repo | #1020393 // expiringMap_renewOnget

JavaX fragment (include)

static <A, B> Map<A, B> expiringMap_renewOnget(long standardExpiryTime) {
  ExpiringMap2<A, B> map = ExpiringMap2(standardExpiryTime);
  map.renewOnGet = true;
  ret map;
}

static <A, B> Map<A, B> expiringMap_renewOnget(double standardExpirySeconds) {
  ret expiringMap_renewOnget(toMS(standardExpirySeconds));
}

Author comment

Began life as a copy of #1019885

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: #1020393
Snippet name: expiringMap_renewOnget
Eternal ID of this version: #1020393/1
Text MD5: e1f5bc87b133860d70f5d61b21139665
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-18 23:34:40
Source code size: 321 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 268 / 309
Referenced in: [show references]