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

4
LINES

< > BotCompany Repo | #1034895 // dec

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

Libraryless. Click here for Pure Java version (34L/1K).

static int dec(int i) { ret i-1; }
static long dec(long l) { ret l-1; }
static int dec(AtomicInteger i) { ret i.decrementAndGet(); }
static long dec(AtomicLong l) { ret l.decrementAndGet(); }

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, iveijnkanddl, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034895
Snippet name: dec
Eternal ID of this version: #1034895/4
Text MD5: 4aeead4bb5c13f9fda5cf53c0db140be
Transpilation MD5: a8e85d8d295d6423628be27ccfdfb361
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:29:19
Source code size: 194 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 161 / 228
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)