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

5
LINES

< > BotCompany Repo | #1026710 // tempIncAtomicInt

JavaX fragment (include)

static AutoCloseable tempIncAtomicInt(AtomicInt v) {
  if (v == null) null;
  incAtomicInt(v);
  ret autocloseable { decAtomicInt(v); };
}

Author comment

Began life as a copy of #1016546

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: #1026710
Snippet name: tempIncAtomicInt
Eternal ID of this version: #1026710/1
Text MD5: 425eb63c2e5d0f135de2592ea76abe6c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-19 14:25:26
Source code size: 142 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 169
Referenced in: [show references]