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

3
LINES

< > BotCompany Repo | #1038779 // objectArrayGet

JavaX fragment (include)

static <A> A objectArrayGet(A[] array, int i) {
  ret array == null || i < 0 || i >= array.length ? null : array[i];
}

Author comment

Began life as a copy of #1035875

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1038779
Snippet name: objectArrayGet
Eternal ID of this version: #1038779/3
Text MD5: 2eaecc04d7f51ab3a9dd0399a3d40c92
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2025-05-10 22:42:55
Source code size: 120 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 8 / 15
Version history: 2 change(s)
Referenced in: [show references]