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

5
LINES

< > BotCompany Repo | #1036335 // tempInc

JavaX fragment (include)

static AutoCloseable tempInc(AtomicLong v) {
  if (v == null) null;
  inc(v);
  ret -> dec(v);
}

Author comment

Began life as a copy of #1026710

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036335
Snippet name: tempInc
Eternal ID of this version: #1036335/3
Text MD5: 112f48a23cf9b4fc63395a626793831d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-20 17:28:36
Source code size: 100 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 57 / 68
Version history: 2 change(s)
Referenced in: [show references]