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

2
LINES

< > TinyBrain | #1008043 - plus1 - add 1 to argument

JavaX fragment (include)

static int plus1(int i) { ret i+1; }
static BigInteger plus1(BigInteger i) { ret plus(i, bigint(1)); }

download  show line numbers  debug dex   

Travelled to 1 computer(s): tvejysmllsmz

No comments. add comment

Snippet ID: #1008043
Snippet name: plus1 - add 1 to argument
Eternal ID of this version: #1008043/1
Text MD5: 595b5b28c88a83d4432b7b93a4d6f8ea
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-21 16:12:51
Source code size: 103 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 8 / 17
Referenced in: [show]