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

3
LINES

< > BotCompany Repo | #1035577 // newIntArrayOrNull

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

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

static int[] newIntArrayOrNull(int n) {
  ret n <= 0 ? null : new int[n];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035577
Snippet name: newIntArrayOrNull
Eternal ID of this version: #1035577/1
Text MD5: 73184d9cd0bdac6df4914293988390f8
Transpilation MD5: 0c2e4d40d638193f42f2726fed874eba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-19 00:06:35
Source code size: 77 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 70 / 86
Referenced in: [show references]