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

3
LINES

< > BotCompany Repo | #1027536 // unpackWithTimestampIfNotOlderThanMinutes

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2441L/15K).

static <A> A unpackWithTimestampIfNotOlderThanMinutes(double minutes, WithTimestamp<A> ts) {
  ret ts != null && !ts.olderThanMinutes(minutes) ? ts! : null;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027536
Snippet name: unpackWithTimestampIfNotOlderThanMinutes
Eternal ID of this version: #1027536/1
Text MD5: 2c340fa6eab30cd3e8b86a1c2f17da4c
Transpilation MD5: 0be4ab2516f1be85678d15498ad2e69f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-23 12:11:24
Source code size: 160 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 208 / 287
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)