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

2
LINES

< > BotCompany Repo | #1032683 // boxed - box primitive value

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

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

static Int boxed(int i) { ret i; }
static Long boxed(long l) { ret l; }

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032683
Snippet name: boxed - box primitive value
Eternal ID of this version: #1032683/1
Text MD5: 191e5d65f3302c7931740128fe9d4c89
Transpilation MD5: 8c8db3656098123ee7b041f800429b22
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-01 22:36:19
Source code size: 72 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 234
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032685 - boxedIntOrLong - use int if possible, otherwise long