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

4
LINES

< > BotCompany Repo | #1034172 // screenNrContaining

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

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

static int screenNrContaining(Pt p) {
  if (p == null) ret -1;
  ret indexOfFirst(allScreenBounds(), screen -> contains(screen, p));
}

Author comment

Began life as a copy of #1033887

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034172
Snippet name: screenNrContaining
Eternal ID of this version: #1034172/4
Text MD5: 4f0d3f966bd8b83610c6473b99f83b48
Transpilation MD5: 2ffeaf000db0a2fe0bec42ab80a3eb6e
Author: stefan
Category: javax / gazelle v
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-25 20:03:49
Source code size: 137 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 190
Version history: 3 change(s)
Referenced in: [show references]