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

10
LINES

< > BotCompany Repo | #1015129 // firstRectAndMD5Containing

JavaX fragment (include)

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

static RectAndMD5 firstRectAndMD5Containing(L<RectAndMD5> l, Pt p) {
  ret firstRectAndMD5Containing(l, p.x, p.y);
}

Author comment

Began life as a copy of #1006029

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015129
Snippet name: firstRectAndMD5Containing
Eternal ID of this version: #1015129/2
Text MD5: 2199f406bd3d127e151d9ce6a96c200f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-08 15:46:46
Source code size: 287 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 368 / 412
Version history: 1 change(s)
Referenced in: [show references]