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   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 184 / 193
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1017171 & http://1017171.tinybrain.de