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

3
LINES

< > BotCompany Repo | #1025204 // getAndInc

JavaX fragment (include)

static int getAndInc(AtomicInteger i) {
  ret i.getAndIncrement();
}

Author comment

Began life as a copy of #1015632

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025204
Snippet name: getAndInc
Eternal ID of this version: #1025204/1
Text MD5: 4c5846c7ff57a44f6ec647b07520445f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-13 13:39:11
Source code size: 70 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 230 / 260
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025946 - incAndGet