Transpiled version (9197L) is out of date.
sclass Timed<A> extends Var<A> { double ms; settable S description; *() {} *(A value, long *ms) { super(value); } *(A value, double *ms) { super(value); } toString { ret "[" + renderedTime() + "] " + joinNemptiesWithComma(description, super.toString()); } double ms() { ret ms; } double nanos() { ret msToNanos(ms); } S renderedTime aka renderTime() { ret renderElapsedSecondsPleasantly(msToSeconds(ms)); } }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026093 |
Snippet name: | Timed - value wrapped with timing result |
Eternal ID of this version: | #1026093/9 |
Text MD5: | e695386a619a2c94a7b8438bc9fc95ee |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-18 22:38:07 |
Source code size: | 467 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 254 / 693 |
Version history: | 8 change(s) |
Referenced in: | [show references] |