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

3
LINES

< > BotCompany Repo | #1025073 // randomShort - out of full short range (including negative values)

JavaX fragment (include)

static short randomShort() {
  ret (short) randomInt();
}

Author comment

Began life as a copy of #1024425

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: #1025073
Snippet name: randomShort - out of full short range (including negative values)
Eternal ID of this version: #1025073/1
Text MD5: a750d7c0517ccb767e66b42842afb2cc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-05 12:25:35
Source code size: 59 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 94 / 116
Referenced in: [show references]