Libraryless. Click here for Pure Java version (5060L/28K).
1 | static int screenNrContaining(Pt p) { |
2 | if (p == null) ret -1; |
3 | ret indexOfFirst(allScreenBounds(), screen -> contains(screen, p)); |
4 | } |
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: | 115 / 193 |
Version history: | 3 change(s) |
Referenced in: | [show references] |