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

5
LINES

< > BotCompany Repo | #1029006 // getAndResetBoolVar

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

Libraryless. Click here for Pure Java version (2575L/16K).

static bool getAndResetBoolVar(Var<Bool> v) {
  bool b = isTrue(v!);
  v.set(false);
  ret b;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029006
Snippet name: getAndResetBoolVar
Eternal ID of this version: #1029006/1
Text MD5: 90b55884f248e42babbedd69f137cc32
Transpilation MD5: 8f0773fc2ad19532982580ed99d44642
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-16 18:50:46
Source code size: 99 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 241
Referenced in: [show references]