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

5
LINES

< > BotCompany Repo | #1017171 // tempInterceptPrint

JavaX fragment (include)

// f can return false to suppress regular printing
// call print_raw within f to actually print something
static AutoCloseable tempInterceptPrint(F1<S, Bool> f) {
  ret tempSetThreadLocal(print_byThread(), f);
}

Author comment

Began life as a copy of #1005762

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: #1017171
Snippet name: tempInterceptPrint
Eternal ID of this version: #1017171/3
Text MD5: 51dc0a35266467fbfd21f6b339603c0d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 16:23:42
Source code size: 215 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 403 / 451
Version history: 2 change(s)
Referenced in: [show references]