1 | static Rect firstRectContaining(L<Rect> l, int x, int y) { |
2 | for (Rect r : l) |
3 | if (r.contains(x, y)) |
4 | ret r; |
5 | null; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006029 |
Snippet name: | firstRectContaining |
Eternal ID of this version: | #1006029/1 |
Text MD5: | b3025e5811d11cd0a5c458044e8bd336 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-15 02:06:02 |
Source code size: | 131 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 529 / 556 |
Referenced in: | [show references] |