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

6
LINES

< > BotCompany Repo | #1006029 // firstRectContaining

JavaX fragment (include)

static Rect firstRectContaining(L<Rect> l, int x, int y) {
  for (Rect r : l)
    if (r.contains(x, y))
      ret r;
  null;
}

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: 528 / 555
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015129 - firstRectAndMD5Containing