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

5
LINES

< > BotCompany Repo | #1034282 // tempSetBoolVar

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

Transpiled version (5008L) is out of date.

static <A> AutoCloseable tempSetBoolVar(BoolVar var, bool a default true) {
  if (var == null) null;
  bool prev = setBoolVar_returnPrevious(var, a);
  ret -> var.set(prev);
}

Author comment

Began life as a copy of #1019865

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034282
Snippet name: tempSetBoolVar
Eternal ID of this version: #1034282/3
Text MD5: e4ba2b1e59a3d9800835bccca55e7450
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-01 17:08:22
Source code size: 179 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 73 / 120
Version history: 2 change(s)
Referenced in: [show references]