1 | static int incAtomicInt(AtomicInteger i) { |
2 | ret i.incrementAndGet(); |
3 | } |
4 | |
5 | static int incAtomicInt(AtomicInteger i, int delta) { |
6 | ret i.addAndGet(delta); |
7 | } |
Began life as a copy of #1011793
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1015632 |
Snippet name: | incAtomicInt (returns new value) |
Eternal ID of this version: | #1015632/4 |
Text MD5: | 09a5887b4d1f70845aa0c4fdbef330b8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-06 04:26:30 |
Source code size: | 160 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 432 / 502 |
Version history: | 3 change(s) |
Referenced in: | [show references] |