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

8
LINES

< > BotCompany Repo | #1006459 // printWithTime

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

Libraryless. Click here for Pure Java version (2144L/14K).

1  
static <A> A printWithTime(A a) {
2  
  ret printWithTime("", a);
3  
}
4  
5  
static <A> A printWithTime(S s, A a) {
6  
  print(hmsWithColons() + ": " + s, a);
7  
  ret a;
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006459
Snippet name: printWithTime
Eternal ID of this version: #1006459/4
Text MD5: ba51c8873d933bf90c2cd12753e245b3
Transpilation MD5: 6979fce39979e54591adeeaa0430dd5a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-27 18:48:39
Source code size: 161 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 627 / 745
Version history: 3 change(s)
Referenced in: [show references]