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

3
LINES

< > BotCompany Repo | #1034660 // nullIfEmptyRect

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

Libraryless. Click here for Pure Java version (4993L/28K).

static Rect nullIfEmptyRect(Rect r) {
  ret rectEmpty(r) ? null : r;
}

Author comment

Began life as a copy of #1015521

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034660
Snippet name: nullIfEmptyRect
Eternal ID of this version: #1034660/1
Text MD5: 43fd5af4b5dbf2e80bedcc2c857fbcf1
Transpilation MD5: 44ad71d3e684f45b9975bfe807bf71ce
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-28 23:29:57
Source code size: 72 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 169
Referenced in: [show references]